Skip to content

Commit cf758d1

Browse files
authored
Merge branch 'main' into fix_lifetime_in_log_record
2 parents 3da4bed + 8d45dec commit cf758d1

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)