Skip to content

Commit

Permalink
Run format.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
psx95 committed Oct 16, 2024
1 parent a56f61e commit 359f751
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class PrometheusExporterUtils
const sdk::metrics::ResourceMetrics &data,
bool populate_target_info = true,
bool without_otel_scope = false,
bool without_units = false,
bool without_units = false,
bool without_type_suffix = false);

private:
Expand Down
3 changes: 1 addition & 2 deletions exporters/prometheus/src/exporter_options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ inline bool GetPrometheusPopulateTargetInfo()

inline bool GetPrometheusWithoutUnits()
{
constexpr char kPrometheusWithoutUnits[] =
"OTEL_CPP_PROMETHEUS_EXPORTER_WITHOUT_UNITS";
constexpr char kPrometheusWithoutUnits[] = "OTEL_CPP_PROMETHEUS_EXPORTER_WITHOUT_UNITS";
bool setting;
const auto exists =
opentelemetry::sdk::common::GetBoolEnvironmentVariable(kPrometheusWithoutUnits, setting);
Expand Down

0 comments on commit 359f751

Please sign in to comment.