We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29f377f commit 15d7fedCopy full SHA for 15d7fed
exporters/prometheus/src/main/java/io/opentelemetry/exporter/prometheus/Otel2PrometheusConverter.java
@@ -125,7 +125,8 @@ MetricSnapshots convert(@Nullable Collection<MetricData> metricDataCollection) {
125
if (resource == null) {
126
resource = metricData.getResource();
127
}
128
- if (otelScopeMode.isScopeInfoEnabled() && !metricData.getInstrumentationScopeInfo().getAttributes().isEmpty()) {
+ if (otelScopeMode.isScopeInfoEnabled()
129
+ && !metricData.getInstrumentationScopeInfo().getAttributes().isEmpty()) {
130
scopes.add(metricData.getInstrumentationScopeInfo());
131
132
0 commit comments