ChilliCream / graphql-platform

Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Banana Cake Pop the awesome Monaco based GraphQL IDE.
https://chillicream.com
MIT License
5.24k stars 744 forks source link

Record metrics about server requests #6803

Open thompson-tomo opened 10 months ago

thompson-tomo commented 10 months ago

Product

Hot Chocolate

Is your feature request related to a problem?

Wanting to get insight into the performance of my full stack

The solution you'd like

I would like to have metrics recorded about the requests being processed by the server. The metrics should be recorded using System.Diagnostics.Metrics so that the metrics can be exported via OTEL exporter.

The metrics should have attributes for:

notes

Client metrics covered by #6804

glen-84 commented 10 months ago

Have you read https://chillicream.com/docs/hotchocolate/v13/server/instrumentation/#opentelemetry?

thompson-tomo commented 10 months ago

Hi yes I did see that but as far as I can tell it is only talking about tracing & not metrics.