sentry-dotnet icon indicating copy to clipboard operation
sentry-dotnet copied to clipboard

Identify auto-collected metrics (no tracing overlap)

Open dingsdax opened this issue 1 month ago • 3 comments

We want to define a set of lightweight metrics that SDKs can automatically collect for e.g. framework, language or platform, focusing only on signals that do NOT overlap with Tracing. Ideally these metrics should give a quick sense of app or runtime health, … while deeper investigation will still rely on traces or profiles.

Examples:

  • Node.js runtime metrics (e.g., event loop delay, heap usage)
  • Prisma-related metrics in Next.js
  • Mobile CPU / memory usage to help surface potential ANRs or app hangs

Candidate Metrics (add more below)

(please also add ideas, questions or examples in comments)

dingsdax avatar Dec 08 '25 13:12 dingsdax

NET-548

linear[bot] avatar Dec 08 '25 13:12 linear[bot]

The Built-in metrics in .NET are an obvious candidate (these are OTEL metrics so we could collect them via a bridge to OTEL, as we did in the metrics v1 experiment).

jamescrosswell avatar Dec 08 '25 21:12 jamescrosswell

See also

  • #3133

And Well-known EventCounters in .NET.

Flash0ver avatar Dec 10 '25 08:12 Flash0ver