Skip to content

Commit 80ec86d

Browse files
authored
fix(metrics): Fix typo (getsentry#2735)
1 parent 6d77ea7 commit 80ec86d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

MIGRATION_GUIDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- Additional integrations will now be activated automatically if the SDK detects the respective package is installed: Ariadne, ARQ, asyncpg, Chalice, clickhouse-driver, GQL, Graphene, huey, Loguru, PyMongo, Quart, Starlite, Strawberry.
1414
- The Pyramid integration will not capture errors that might happen in `authenticated_userid()` in a custom `AuthenticationPolicy` class.
1515
- Setting the parameter `propagate_hub` to `True` in `ThreadingIntegration(propagate_hub=True)` does only work on Python 3.7+.
16+
- The method `need_code_loation` of the `MetricsAggregator` was renamed to `need_code_location`.
1617

1718
## Removed
1819

sentry_sdk/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ def record_code_location(
609609
)
610610

611611
@metrics_noop
612-
def need_code_loation(
612+
def need_code_location(
613613
self,
614614
ty, # type: MetricType
615615
key, # type: str

0 commit comments

Comments
 (0)