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

[release/8.0] Fix Histogram/UpDownCounter Custom Tags Bug #7744

Closed
wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link
Contributor

Backport of #7697 to release/8.0

/cc @kkeirstead

* Added aggregate payload and updowncounter

* Added additional tests for histogram and up down counter tags
@github-actions github-actions bot added the backport Pull requests that are backports of another pull request label Dec 13, 2024
@github-actions github-actions bot requested a review from a team as a code owner December 13, 2024 18:40
@kkeirstead
Copy link
Member

@jander-msft I think this actually doesn't get backported to 8.0 based on when custom tags were added - would this get backported to 8.x, or just solely 9.x (already done)?

@jander-msft
Copy link
Member

@jander-msft I think this actually doesn't get backported to 8.0 based on when custom tags were added - would this get backported to 8.x, or just solely 9.x (already done)?

I agree this shouldn't be backported for custom tags since those were not added in 8.0. However, do the changes in the IsMeter method help? It looks like it might fix some aspect of the metric label calculation.

@kkeirstead
Copy link
Member

@jander-msft I think this actually doesn't get backported to 8.0 based on when custom tags were added - would this get backported to 8.x, or just solely 9.x (already done)?

I agree this shouldn't be backported for custom tags since those were not added in 8.0. However, do the changes in the IsMeter method help? It looks like it might fix some aspect of the metric label calculation.

I think you're right...in the diagnostics repo those changes were introduced prior to the custom tags. In which case, from a branching perspective how should the divergence be handled if we want to keep the IsMeter changes for 8.0 but not the tests? Do you want me to just update this PR to remove the tests, or should there be a new PR that targets this branch? Or something else?

@jander-msft
Copy link
Member

@jander-msft I think this actually doesn't get backported to 8.0 based on when custom tags were added - would this get backported to 8.x, or just solely 9.x (already done)?

I agree this shouldn't be backported for custom tags since those were not added in 8.0. However, do the changes in the IsMeter method help? It looks like it might fix some aspect of the metric label calculation.

I think you're right...in the diagnostics repo those changes were introduced prior to the custom tags. In which case, from a branching perspective how should the divergence be handled if we want to keep the IsMeter changes for 8.0 but not the tests? Do you want me to just update this PR to remove the tests, or should there be a new PR that targets this branch? Or something else?

Let's open a new PR that fixes the specific issue so that it gets its own entry in the release notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Pull requests that are backports of another pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants