Skip to content

Commit

Permalink
Merge SanitizeName changes
Browse files Browse the repository at this point in the history
  • Loading branch information
owent committed Sep 27, 2023
1 parent 23f29cd commit 765eb99
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 @@ -334,7 +334,7 @@ void PrometheusExporterUtils::SetTarget(const sdk::metrics::ResourceMetrics &dat
continue;
}

AddPrometheusLabel(SanitizeNames(label.first), AttributeValueToString(label.second),
AddPrometheusLabel(SanitizeName(label.first), AttributeValueToString(label.second),
&metric.label);
}

Expand Down

0 comments on commit 765eb99

Please sign in to comment.