ChilliCream / ChilliCream/graphql-platform

Capture metrics about client requests

Open
#6,804 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

🌶️ strawberry shake
Dominant language
C#
Stars
5.8k
Forks
810
Avg merge
15h 39m
Merged PRs (30d)
98

Description

Product

Strawberry Shake

Is your feature request related to a problem?

I want to know how much requests my clients are making

The solution you'd like

I would like to have metrics recorded about the requests being generatrd by a client. 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
  • Result
notes

Server metrics covered by #6803

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating Strawberry Shake's client request generation and the System.Diagnostics.Metrics integration point. Define the request metrics with path, method, Content-type, schema name, request type, and result attributes, then verify that they can be exported through an OTEL exporter.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, graphql
Domain
api, observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.