Skip to content

Commit

Permalink
Change the info-typed target metric.
Browse files Browse the repository at this point in the history
  • Loading branch information
owent committed Sep 21, 2023
1 parent e50a3d6 commit 88e9857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporters/prometheus/src/exporter_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ void PrometheusExporterUtils::SetTarget(const sdk::metrics::ResourceMetrics &dat
}

prometheus_client::MetricFamily metric_family;
metric_family.name = "target_info";
metric_family.name = "target";
metric_family.help = "Target metadata";
metric_family.type = prometheus_client::MetricType::Info;
metric_family.metric.emplace_back();
Expand Down

0 comments on commit 88e9857

Please sign in to comment.