Skip to content

Add labels from headers in web_transaction metrics

What does this MR do?

This MR uses the headers added in !66937 (merged) in the labels sent to prometheus.

Screenshots or Screencasts (strongly suggested)

From the /-/metrics local endpoint after viewing an issue. You'll notice that "Before" only has feature_category="not_owned". In the "After", the feature_category is being set from the request headers sent to the GraphqlController.

Before After
Screen_Shot_2021-09-24_at_11.53.38_AM Screen_Shot_2021-09-24_at_11.00.17_AM

References

Related to #328535

Edited by Paul Slaughter

Merge request reports