nats-io/nats.net.v2

Add OTEL Metrics

Opened this issue · 0 comments

mtmk commented

Proposed change

Move NatsConnection.GetStats() functionality to use https://learn.microsoft.com/dotnet/api/system.diagnostics.metrics APIs.

Use case

For example Aspire integration can expose these metrics

Contribution

Contributions are welcome