Skip to content

Commit

Permalink
Revert "DO NOT MERGE: enable sentry profiling"
Browse files Browse the repository at this point in the history
This reverts commit 4a95b72.
  • Loading branch information
dhirving committed Dec 6, 2024
1 parent 4a95b72 commit eabd6ff
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/lsst/daf/butler/remote_butler/server/_telemetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ def enable_telemetry() -> None:
# Configuration will be pulled from SENTRY_* environment variables
# (see https://docs.sentry.io/platforms/python/configuration/options/).
# If SENTRY_DSN is not present, telemetry is disabled.
sentry_sdk.init(
enable_tracing=True, traces_sampler=_decide_whether_to_sample_trace, profiles_sample_rate=1.0
)
sentry_sdk.init(enable_tracing=True, traces_sampler=_decide_whether_to_sample_trace)

global _telemetry_context
_telemetry_context = SentryTelemetryContext()
Expand Down

0 comments on commit eabd6ff

Please sign in to comment.