Skip to content

Step 3 - Add MetricsTracer to Graphql Schema

Paul Slaughter requested to merge 331697-tracer-3-metrics-tracer into master

What does this MR do and why?

This MR introduces a MetricsTracer for the Graphql Schema which writes Metrics::Sli events for every execute_query.

Screenshots or screen recordings

Taken from /-/metrics locally.

Screen_Shot_2021-11-05_at_5.43.44_AM

How to set up and validate locally

  1. Start gdk
  2. Visit an issue#show page (which will trigger some GraphQL request)
  3. Visit /-/metrics and search for graphql_query_apdex

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #331697 (closed)

Edited by Paul Slaughter

Merge request reports