You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/core/metrics.md
+6-2
Original file line number
Diff line number
Diff line change
@@ -34,12 +34,16 @@ If you're new to Amazon CloudWatch, there are five terminologies you must be awa
34
34
???+ tip
35
35
All examples shared in this documentation are available within the [project repository](https://github.com/aws-powertools/powertools-lambda-python/tree/develop/examples){target="_blank"}.
36
36
37
-
Metric has two global settings that will be used across all metrics emitted:
37
+
Metric has three global settings that will be used across all metrics emitted:
`POWERTOOLS_METRICS_DISABLED` will not disable default metrics created by AWS services.
43
47
44
48
???+ tip
45
49
Use your application or main service as the metric namespace to easily group all metrics.
@@ -79,7 +83,7 @@ You can create metrics using `add_metric`, and you can create dimensions for all
79
83
CloudWatch EMF supports a max of 100 metrics per batch. Metrics utility will flush all metrics when adding the 100th metric. Subsequent metrics (101th+) will be aggregated into a new EMF object, for your convenience.
80
84
81
85
???+ warning "Warning: Do not create metrics or dimensions outside the handler"
82
-
Metrics or dimensions added in the global scope will only be added during cold start. Disregard if you that's the intended behavior.
86
+
Metrics or dimensions added in the global scope will only be added during cold start. Disregard if that's the intended behavior.
0 commit comments