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
|**Metric namespace**| Logical container where all metrics will be placed e.g. `ServerlessAirline`|`POWERTOOLS_METRICS_NAMESPACE`|`namespace`|
36
+
|**Service**| Optionally, sets **service** metric dimension across all metrics e.g. `payment`|`POWERTOOLS_SERVICE_NAME`|`service`|
37
37
38
38
???+ tip
39
39
Use your application or main service as the metric namespace to easily group all metrics.
@@ -191,7 +191,7 @@ This decorator also **validates**, **serializes**, and **flushes** all your metr
191
191
???+ tip "Tip: Metric validation"
192
192
If metrics are provided, and any of the following criteria are not met, **`SchemaValidationError`** exception will be raised:
193
193
194
-
* Maximum of 9 dimensions
194
+
* Maximum of 8 user-defined dimensions
195
195
* Namespace is set, and no more than one
196
196
* Metric units must be [supported by CloudWatch](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html)
0 commit comments