Skip to content

Conversation

knylander-grafana
Copy link
Contributor

Backport 532f83f from #4248


What this PR does:

Second try. Original PR with review comments: #4128

This doc has a first draft of a use case for using TraceQL metrics queries to investigate an issue. The example provides equivalent PromQL and TraceQL queries.

Updates the TraceQL metrics documentation to add:

  • Create a separate functions page with the functions moved off of the main metrics page
  • Maintain a list of the functions on the main TraceQL metrics page
  • Add a section that describes how RED metrics can be generated in TraceQL metrics vs span metrics from the metrics generator
  • Add examples for PromQL vs TraceQL equivalent queries - how do you contruct a TraceQL query that is equivalent of a PromQL query

Which issue(s) this PR fixes:
Fixes https://github.com/grafana/tempo-squad/issues/413

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

* Update metrics query doc with more examples

* Update content from doc session

* Apply suggestions from code review

Co-authored-by: Jennifer Villa <jvilla2013@gmail.com>
Co-authored-by: Joe Elliott <joe.elliott@grafana.com>

* Restructure and update metrics queries

* Updates to meet review comments

* fix paragraph

* Updates for conflict

---------

Co-authored-by: Jennifer Villa <jvilla2013@gmail.com>
Co-authored-by: Joe Elliott <joe.elliott@grafana.com>
(cherry picked from commit 532f83f)
@knylander-grafana knylander-grafana merged commit b590417 into release-v2.6 Oct 30, 2024
18 checks passed
@knylander-grafana knylander-grafana deleted the backport-4248-to-release-v2.6 branch October 30, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport type/docs Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants