Skip to content
This repository was archived by the owner on Jul 28, 2026. It is now read-only.

remove duplicate suffix from calls_total spanmetric - #1449

Merged
mapno merged 3 commits into
grafana-cold-storage:mainfrom
fredr:fredr/fix-spanmetric-suffix
Mar 3, 2022
Merged

remove duplicate suffix from calls_total spanmetric#1449
mapno merged 3 commits into
grafana-cold-storage:mainfrom
fredr:fredr/fix-spanmetric-suffix

Conversation

@fredr

@fredr fredr commented Mar 2, 2022

Copy link
Copy Markdown
Contributor

PR Description

Because of an upstream fix, the metric have duplicate _total suffixes and comes out as traces_spanmetrics_calls_total_total

Notes to the Reviewer

I wanted to write a test for this as well, but didn't find a way of doing it, since the name is being created in the processor upstream. If you have any suggestions on a test, please let me know.

PR Checklist

  • CHANGELOG updated
  • Documentation added
  • Tests updated

@fredr
fredr requested review from joe-elliott and mapno as code owners March 2, 2022 09:07

@mapno mapno left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the contribution again!

@mapno mapno left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, missed a change that I believe should be reverted.

Comment thread pkg/traces/remotewriteexporter/exporter.go Outdated

@mapno mapno left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks :)

@mapno
mapno merged commit 2a927f8 into grafana-cold-storage:main Mar 3, 2022
@fredr
fredr deleted the fredr/fix-spanmetric-suffix branch March 3, 2022 12:23
@github-actions github-actions Bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Apr 3, 2024
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants