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

[servicegraphprocessor/servicegraphconnector] Change metric names to match the spec #21098

Merged
merged 10 commits into from
Jun 8, 2023

Conversation

mapno
Copy link
Contributor

@mapno mapno commented Apr 21, 2023

Description:

Changes servicegraph metrics to match the spec

Link to tracking Issue:

Solves #18743 and #16578

Testing:

Added tests to make sure that the metrics match the spec

Documentation:

@github-actions github-actions bot added the processor/servicegraph Service graph processor label Apr 21, 2023
@mapno mapno marked this pull request as ready for review May 12, 2023 13:36
@mapno mapno requested a review from a team as a code owner May 12, 2023 13:36

mCount := ms.At(0)
verifyCount(t, mCount)

mDuration := ms.At(1)
Copy link
Member

Choose a reason for hiding this comment

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

Should this be kept for a couple of releases to allow people to upgrade to the new metric name? Which one would best represent the old one? Can you also add more info in the changelog telling folks what they should do not to have their dashboards broken?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added the legacy metric names under a feature flag and improved the description. Thanks for the review.

@jpkrohling
Copy link
Member

Sorry for taking so long to review this. It looks like there's a conflict now. Are you able to fix it? Ping me once you do, so that I can review it again. Thanks!

@mapno
Copy link
Contributor Author

mapno commented Jun 8, 2023

No worries! Rebased and ready for merge @jpkrohling

@jpkrohling jpkrohling merged commit f722fe4 into open-telemetry:main Jun 8, 2023
86 checks passed
@github-actions github-actions bot added this to the next release milestone Jun 8, 2023
@mapno mapno deleted the servicegraph-fix-metric-names branch June 27, 2023 08:05
Caleb-Hurshman pushed a commit to observIQ/opentelemetry-collector-contrib that referenced this pull request Jul 6, 2023
…match the spec (open-telemetry#21098)

* Change metrics to match Tempo spec

* Update tests

* Add chlog entry

* Fix duration

* Poke CI

* Add legacy metrics under flag

* Typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
processor/servicegraph Service graph processor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants