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

Observability Metrics Support for GraphQL #6461

Assignees
Labels
module/graphql Issues related to Ballerina GraphQL module Type/NewFeature

Comments

@ThisaruGuruge
Copy link
Member

ThisaruGuruge commented Apr 29, 2024

Description:

Part of ballerina-platform/ballerina-lang#42562

Similar to other GraphQL dashboards, we should include the following metrics:

  1. No. of requests
  2. Requests per second
  3. Request error rate
  4. Errors per second
  5. Response latency
  6. Top 10 most requested operations
  7. Top 10 slowest operations
  8. Top 10 operations that errored
  9. Top 10 fields requested
  10. No. of Query, Mutation, and Subscription operations
  11. CPU usage
  12. Memory usage

The HTTP service can obtain above 1, 2, 11, and 12.

Others have to be published from the GraphQL Engine.

As the first step, we can consider the 1, 2, 3, 4, 5, 6, and 10. We can also consider 9 for the first phase, but we can keep it for the second phase with the rest of the metrics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/graphql Issues related to Ballerina GraphQL module Type/NewFeature
Projects
Archived in project
1 participant