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
+49-3Lines changed: 49 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -201,7 +201,7 @@ You can create metrics using `addMetric`, and manually create dimensions for all
201
201
### Adding high-resolution metrics
202
202
203
203
You can create [high-resolution metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html#high-resolution-metrics)
204
-
passing a `MetricResolution.HIGH` to the `addMetric` method:
204
+
passing a `#!java MetricResolution.HIGH` to the `addMetric` method. If nothing is passed `#!java MetricResolution.STANDARD` will be used.
205
205
206
206
=== "HigResMetricsHandler.java"
207
207
@@ -228,6 +228,52 @@ passing a `MetricResolution.HIGH` to the `addMetric` method:
228
228
High-resolution metrics are data with a granularity of one second and are very useful in several situations such as telemetry, time series, real-time incident management, and others.
229
229
<!-- prettier-ignore-end -->
230
230
231
+
### Adding dimensions
232
+
233
+
You can add dimensions to your metrics using the `addDimension` method. You can either pass key-value pairs or you can create higher cardinality dimensions using `DimensionSet`.
0 commit comments