ChilliCream / ChilliCream/graphql-platform
Record metrics about server requests
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 5.8k
- Forks
- 810
- Avg merge
- 15h 39m
- Merged PRs (30d)
- 98
Description
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:
- path
- method
- Content-type
- Schema name
- Request type: query, mutation, subscription
notes
Client metrics covered by #6804
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests; start by locating Hot Chocolate's server request-processing entry point and its use of System.Diagnostics.Metrics. Define completion as recording server-request metrics with path, method, content type, schema name, and request type attributes, with values exportable through an OTEL exporter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend-api-design, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100