Skip to content

Commit 64a58ca

Browse files
committed
[PROMETHEUS_EXPORTER] Fix default for emitting otel_scope attributes
1 parent 955a807 commit 64a58ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exporters/prometheus/src/exporter_options.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ inline bool GetPrometheusWithoutOtelScope()
3333
auto exists =
3434
opentelemetry::sdk::common::GetBoolEnvironmentVariable(kPrometheusWithoutOtelScope, setting);
3535

36-
return exists ? setting : true;
36+
return exists ? setting : false;
3737
}
3838

3939
inline bool GetPrometheusPopulateTargetInfo()

0 commit comments

Comments
 (0)