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

Metrics generator: extract status_message field from spans #1786

Merged
merged 3 commits into from Oct 6, 2022

Conversation

stoewer
Copy link
Collaborator

@stoewer stoewer commented Oct 6, 2022

What this PR does:
When generating span metrics, extract the non attribute field status_message or status.message, when it is provided in the span_metrics dimensions.

Which issue(s) this PR fixes:
Fixes #1764

Checklist

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

@stoewer stoewer changed the title Generator: extract status_message field Metrics generator: extract status_message field from spans Oct 6, 2022
Extract the standard span field 'status_message' or 'status.message'
when it is provided in span_metrics dimensions.
@stoewer stoewer force-pushed the status-message-from-span-metrics branch from 156ce01 to da75f59 Compare October 6, 2022 06:03
@stoewer stoewer self-assigned this Oct 6, 2022
@stoewer stoewer marked this pull request as ready for review October 6, 2022 07:05
Co-authored-by: Mario <mariorvinas@gmail.com>
@mapno mapno enabled auto-merge (squash) October 6, 2022 09:08
@mapno mapno merged commit 1cac085 into grafana:main Oct 6, 2022
@stoewer stoewer deleted the status-message-from-span-metrics branch October 6, 2022 10:02
gouthamve pushed a commit to gouthamve/tempo that referenced this pull request Oct 6, 2022
)

* Generator: extract status_message field

Extract the standard span field 'status_message' or 'status.message'
when it is provided in span_metrics dimensions.

* Mention dimension lookup inside span status in config docs

* Update config documentation regarding status.message lookup.

Co-authored-by: Mario <mariorvinas@gmail.com>

Co-authored-by: Mario <mariorvinas@gmail.com>
Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
joe-elliott pushed a commit to joe-elliott/tempo that referenced this pull request Oct 7, 2022
)

* Generator: extract status_message field

Extract the standard span field 'status_message' or 'status.message'
when it is provided in span_metrics dimensions.

* Mention dimension lookup inside span status in config docs

* Update config documentation regarding status.message lookup.

Co-authored-by: Mario <mariorvinas@gmail.com>

Co-authored-by: Mario <mariorvinas@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to access status_message standard field from span_metrics
2 participants