Skip to content

[metrics] Don't clone eventmetrics unnecessarily - #820

Merged
manugarg merged 4 commits into
masterfrom
metrics_clone_2
Aug 6, 2024
Merged

manugarg merged 4 commits into
masterfrom
metrics_clone_2

Conversation

@manugarg

@manugarg manugarg commented Aug 6, 2024 •

Copy link
Copy Markdown
Contributor

This cloning got added in #533, when we tried to standardize handling of eventmetrics through options.RecordMetrics. It doesn't really serve any purpose as probes calling this function already provide a clean, disconnected EventMetrics.

@manugarg
manugarg merged commit f521645 into master Aug 6, 2024
@manugarg
manugarg deleted the metrics_clone_2 branch August 6, 2024 19:31
@manugarg manugarg added this to the v0.13.7 milestone Aug 6, 2024
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.

1 participant