Skip to content

Commit

Permalink
[PROMETHEUS_EXPORTER] Fix default for emitting otel_scope attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
yashykt committed Nov 26, 2024
1 parent 955a807 commit 64a58ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporters/prometheus/src/exporter_options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ inline bool GetPrometheusWithoutOtelScope()
auto exists =
opentelemetry::sdk::common::GetBoolEnvironmentVariable(kPrometheusWithoutOtelScope, setting);

return exists ? setting : true;
return exists ? setting : false;
}

inline bool GetPrometheusPopulateTargetInfo()
Expand Down

0 comments on commit 64a58ca

Please sign in to comment.