File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ This will be available in CloudWatch Logs to ease operations on high cardinal da
186
186
187
187
By default, all metrics emitted via module captures ` Service ` as one of the default dimension. This is either specified via
188
188
` POWERTOOLS_SERVICE_NAME ` environment variable or via ` service ` attribute on ` Metrics ` annotation. If you wish to override the default
189
- Dimension, it can be done via ` #!java MetricsUtils.defaultDimensionSet () ` .
189
+ Dimension, it can be done via ` #!java MetricsUtils.defaultDimensions () ` .
190
190
191
191
=== "App.java"
192
192
@@ -199,7 +199,7 @@ Dimension, it can be done via `#!java MetricsUtils.defaultDimensionSet()`.
199
199
MetricsLogger metricsLogger = MetricsUtils.metricsLogger();
200
200
201
201
static {
202
- MetricsUtils.defaultDimensionSet (DimensionSet.of("CustomDimension", "booking"));
202
+ MetricsUtils.defaultDimensions (DimensionSet.of("CustomDimension", "booking"));
203
203
}
204
204
205
205
@Override
You can’t perform that action at this time.
0 commit comments