From cfc5dbf5045d96b30b860ae4a5ab7405c2b1bf7d Mon Sep 17 00:00:00 2001 From: Matthew Hensley Date: Thu, 16 Nov 2023 10:07:02 -0500 Subject: [PATCH 1/2] add .NET process metrics --- src/cartservice/src/Program.cs | 1 + src/cartservice/src/cartservice.csproj | 1 + 2 files changed, 2 insertions(+) diff --git a/src/cartservice/src/Program.cs b/src/cartservice/src/Program.cs index 6c7c612391..3a50e9be71 100644 --- a/src/cartservice/src/Program.cs +++ b/src/cartservice/src/Program.cs @@ -59,6 +59,7 @@ .AddHttpClientInstrumentation() .AddOtlpExporter()) .WithMetrics(meterBuilder => meterBuilder + .AddProcessInstrumentation() .AddRuntimeInstrumentation() .AddAspNetCoreInstrumentation() .AddOtlpExporter()); diff --git a/src/cartservice/src/cartservice.csproj b/src/cartservice/src/cartservice.csproj index 3f9e98e27b..6288ad6013 100644 --- a/src/cartservice/src/cartservice.csproj +++ b/src/cartservice/src/cartservice.csproj @@ -14,6 +14,7 @@ + From ac969a7e5ef33f57b80700207917fc852cbc8f2b Mon Sep 17 00:00:00 2001 From: Matthew Hensley Date: Thu, 16 Nov 2023 10:10:30 -0500 Subject: [PATCH 2/2] CHANGELOG entry --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e28f266221..5b3d18814d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ release. * update PHP quoteservice to use 1.0.0 ([#1236](https://github.com/open-telemetry/opentelemetry-demo/pull/1236)) +* [cartservice] Add .NET memory, CPU, and thread metrics + ([#1265](https://github.com/open-telemetry/opentelemetry-demo/pull/1265)) ## 1.6.0