From 1fcc450fb106d2a300d3d3bf45cdee82180fe328 Mon Sep 17 00:00:00 2001 From: Pierre Tessier Date: Tue, 19 Mar 2024 23:49:55 -0400 Subject: [PATCH 1/2] fix metric name Signed-off-by: Pierre Tessier --- src/currencyservice/src/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); From 09e1eb5b42009b22f38f276f14356d645aa117e2 Mon Sep 17 00:00:00 2001 From: Pierre Tessier Date: Tue, 19 Mar 2024 23:52:09 -0400 Subject: [PATCH 2/2] fix metric name Signed-off-by: Pierre Tessier --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 80d69ce843..68d8be6b5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,8 @@ the release. ([#1448](https://github.com/open-telemetry/opentelemetry-demo/pull/1448)) * [cartservice] update .NET to .NET 8.0.3 ([#1460](https://github.com/open-telemetry/opentelemetry-demo/pull/1460)) +* [currency] fix metric name + ([#1470](https://github.com/open-telemetry/opentelemetry-demo/pull/1470)) ## 1.8.0