From 19d20cf8cf4fb3485b5f50b28004028dc8b90dc7 Mon Sep 17 00:00:00 2001 From: Pranav Sharma Date: Wed, 16 Oct 2024 21:31:55 +0000 Subject: [PATCH] Run format.sh --- .../opentelemetry/exporters/prometheus/exporter_utils.h | 2 +- exporters/prometheus/src/exporter_options.cc | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/exporters/prometheus/include/opentelemetry/exporters/prometheus/exporter_utils.h b/exporters/prometheus/include/opentelemetry/exporters/prometheus/exporter_utils.h index 141eca011c..29c0f66daf 100644 --- a/exporters/prometheus/include/opentelemetry/exporters/prometheus/exporter_utils.h +++ b/exporters/prometheus/include/opentelemetry/exporters/prometheus/exporter_utils.h @@ -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: diff --git a/exporters/prometheus/src/exporter_options.cc b/exporters/prometheus/src/exporter_options.cc index 4d75f4928f..a9de8f4eb4 100644 --- a/exporters/prometheus/src/exporter_options.cc +++ b/exporters/prometheus/src/exporter_options.cc @@ -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);