Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae62753 commit fca8e3eCopy full SHA for fca8e3e
‎localstack-core/localstack/utils/analytics/metrics/publisher.py
@@ -21,6 +21,9 @@ def publish_metrics() -> None:
21
return
22
23
collected_metrics = MetricRegistry().collect()
24
+ # TODO: remove intentional debug exception used to expose places where metrics are sent unintentionally
25
+ raise Exception(f"METRICS_WOULD_BE_PUBLISHED_BUT_SHOULD_NOT. Metrics: {collected_metrics}") # noqa
26
+
27
if not collected_metrics.payload: # Skip publishing if no metrics remain after filtering
28
29
0 commit comments