Skip to content

Commit

Permalink
Merge pull request #98 from open-telemetry/main
Browse files Browse the repository at this point in the history
[PROMETHEUS_EXPORTER] Fix default for emitting otel_scope attributes …
  • Loading branch information
malkia authored Nov 26, 2024
2 parents 1139d5c + 8d45dec commit abc7df4
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 abc7df4

Please sign in to comment.