From 7560436d50ec18ce28b1b9f511d6b68869af408a Mon Sep 17 00:00:00 2001 From: Pierre Tessier Date: Thu, 21 Mar 2024 15:34:37 -0400 Subject: [PATCH] [currency] - fix metric name (#1470) * fix metric name Signed-off-by: Pierre Tessier * fix metric name Signed-off-by: Pierre Tessier --------- Signed-off-by: Pierre Tessier --- CHANGELOG.md | 2 ++ src/currencyservice/src/server.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ccd8da177c..0b7aacfabb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,8 @@ the release. ([#1460](https://github.com/open-telemetry/opentelemetry-demo/pull/1460)) * [frontendproxy] remove deprecated start_child_span option ([#1469](https://github.com/open-telemetry/opentelemetry-demo/pull/1469)) +* [currency] fix metric name + ([#1470](https://github.com/open-telemetry/opentelemetry-demo/pull/1470)) * [frontend] disable instrumentation-fs library ([#1473](https://github.com/open-telemetry/opentelemetry-demo/pull/1473)) diff --git a/src/currencyservice/src/server.cpp b/src/currencyservice/src/server.cpp index 218f2881b6..ff194edd77 100644 --- a/src/currencyservice/src/server.cpp +++ b/src/currencyservice/src/server.cpp @@ -266,7 +266,7 @@ int main(int argc, char **argv) { initTracer(); initMeter(); initLogger(); - currency_counter = initIntCounter(name, version); + currency_counter = initIntCounter("app.currency", version); logger = getLogger(name); RunServer(port);