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

Fix issue where tags of aggregated context could be modified #258

Merged
merged 1 commit into from
May 3, 2022

Conversation

hush-hush
Copy link
Member

When using aggregation, the context for Count, Gauge and Set did not
copy the slice for the tags but held a reference to it. This meant that
the caller could change the context tags after sampling a metric.

When using aggregation, the context for Count, Gauge and Set did not
copy the slice for the tags but held a reference to it. This meant that
the caller could change the context tags after sampling a metric.
@hush-hush hush-hush merged commit 2179b31 into master May 3, 2022
@hush-hush hush-hush deleted the maxime/fix-aggregation-tags-copy branch May 3, 2022 16:39
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.

None yet

3 participants