-
- Downloads
Monitor GraphQL with Prometheus
Extends graphql's platform tracing class to observe duration of graphql methods. In graphql 1.8.11 is added prometheus class but it's not very useful for us because it uses prometheus_exporter to export results.
Showing
- app/graphql/gitlab_schema.rb 1 addition, 0 deletionsapp/graphql/gitlab_schema.rb
- changelogs/unreleased/graphql-prometheus.yml 5 additions, 0 deletionschangelogs/unreleased/graphql-prometheus.yml
- lib/gitlab/graphql/tracing.rb 43 additions, 0 deletionslib/gitlab/graphql/tracing.rb
- spec/lib/gitlab/graphql/tracing_spec.rb 33 additions, 0 deletionsspec/lib/gitlab/graphql/tracing_spec.rb
changelogs/unreleased/graphql-prometheus.yml
0 → 100644
lib/gitlab/graphql/tracing.rb
0 → 100644
spec/lib/gitlab/graphql/tracing_spec.rb
0 → 100644
Please register or sign in to comment