@@ -30,10 +30,10 @@ If you're new to Amazon CloudWatch, there are two terminologies you must be awar
3030
3131Metric has two global settings that will be used across all metrics emitted:
3232
33- Setting | Description | Environment variable | Constructor parameter
34- ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | -------------------------------------------------
35- ** 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 `
33+ | Setting | Description | Environment variable | Constructor parameter |
34+ | -------------------- | ------------------------------------------------------------------------------- | ------------------------------ | --------------------- |
35+ | ** 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 ` |
3737
3838???+ tip
3939 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
191191???+ tip "Tip: Metric validation"
192192 If metrics are provided, and any of the following criteria are not met, ** ` SchemaValidationError ` ** exception will be raised:
193193
194- * Maximum of 9 dimensions
194+ * Maximum of 8 user-defined dimensions
195195 * Namespace is set, and no more than one
196196 * Metric units must be [supported by CloudWatch](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html)
197197
0 commit comments