You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have observed that brief CPU spikes in the past have negatively impacted the customer experience. While existing libraries allow us to capture CPU usage at intervals, such as every minute (depending on the capabilities of the exporter), we require more granular data on CPU and memory usage.
Proposal: Enhance the SDK by introducing custom CPU and memory usage metrics. These metrics will collect and record data every 10 seconds, generating a histogram of the values, as outlined above.
The text was updated successfully, but these errors were encountered:
After discussing with the team, we've decided to proceed without implementing custom CPU and memory metrics in the SDK, and will rely on the metrics provided by the .NET libraries. We can revisit this decision in the future if needed.
What do we want to collect? (as Implemented in java SDK)
Available Open Telemetry Compatible Packages
NuGet Gallery | OpenTelemetry.Instrumentation.Runtime 1.9.0
Usage: https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/main/examples/runtime-instrumentation/Program.cs
Metrics List: https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/main/src/OpenTelemetry.Instrumentation.Runtime/README.md
NuGet Gallery | OpenTelemetry.Instrumentation.Process 0.5.0-beta.6
Usage: https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/main/examples/process-instrumentation/Program.cs
Metrics List: https://github.com/open-telemetry/opentelemetry-dotnet-contrib/blob/main/src/OpenTelemetry.Instrumentation.Process/README.md#step-2-enable-process-instrumentation
.NET extensions metrics - .NET | Microsoft Learn
Metrics List: https://learn.microsoft.com/en-us/dotnet/core/diagnostics/built-in-metrics-diagnostics#microsoftextensionsdiagnosticshealthchecks
In-Built Metrics: https://learn.microsoft.com/en-us/dotnet/core/diagnostics/built-in-metrics-runtime
What we need in Cosmos DB SDK?
We have observed that brief CPU spikes in the past have negatively impacted the customer experience. While existing libraries allow us to capture CPU usage at intervals, such as every minute (depending on the capabilities of the exporter), we require more granular data on CPU and memory usage.
Proposal: Enhance the SDK by introducing custom CPU and memory usage metrics. These metrics will collect and record data every 10 seconds, generating a histogram of the values, as outlined above.
The text was updated successfully, but these errors were encountered: