Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture metrics for every field being requested in a graphql query #202

Closed
bizob2828 opened this issue Jun 23, 2022 · 2 comments · Fixed by #252
Closed

Capture metrics for every field being requested in a graphql query #202

bizob2828 opened this issue Jun 23, 2022 · 2 comments · Fixed by #252

Comments

@bizob2828
Copy link
Member

Is your feature request related to a problem? Please describe.

As you maintain a graphql service you'll likely refactor and want to remove older fields. The Alerts team wants the ability to know every field requested per request so they know if a field is no longer being asked for so they can safely remove.

Feature Description

At the end of every request report metrics for every unique field being requested within a graphql query.

Additional context

We currently report scalars as resolve segments but this occurs for every single item in a request.

Priority

Please help us better understand this feature request by choosing a priority from the following options:
[Nice to Have, Really Want, Must Have, Blocker]

@bizob2828
Copy link
Member Author

Metrics might not be the best solution but the idea is a customer wants to know when it is safe to remove a field within a graphql schema

@workato-integration
Copy link

Node.js Engineering Board automation moved this from Triage Needed: Unprioritized Features to Done: Issues recently completed Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Node.js Engineering Board
  
Done: Issues recently completed
2 participants