Skip to content

Commit 1391ad7

Browse files
committed
spotless
1 parent 061e3c7 commit 1391ad7

File tree

2 files changed

+4
-2
lines changed
  • instrumentation/jmx-metrics

2 files changed

+4
-2
lines changed

instrumentation/jmx-metrics/javaagent/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ rules:
338338
unit: s
339339
desc: The longest request processing time
340340
```
341-
`sourceUnit` can also be defined on rule level (see [Making shortcuts](#making-shortcuts))
341+
`sourceUnit` can also be defined on rule level (see [Making shortcuts](#making-shortcuts))
342342

343343
### General Syntax
344344

instrumentation/jmx-metrics/library/src/main/java/io/opentelemetry/instrumentation/jmx/yaml/JmxRule.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ public MetricDef buildMetricDef() throws Exception {
158158
getUnit(),
159159
getMetricType());
160160
} else {
161-
metricInfo = m.buildMetricInfo(prefix, niceAttributeName, getSourceUnit(), getUnit(), getMetricType());
161+
metricInfo =
162+
m.buildMetricInfo(
163+
prefix, niceAttributeName, getSourceUnit(), getUnit(), getMetricType());
162164
}
163165

164166
List<MetricAttribute> ownAttributes = getAttributeList();

0 commit comments

Comments
 (0)