Skip to content

metricstarttimeprocessor: avoid copy for gauges when adjusting metrics #39400

Open
@ridwanmsharif

Description

@ridwanmsharif

Component(s)

metricstarttimeprocessor

Is your feature request related to a problem? Please describe.

see #38594 (comment) and #38594 (comment) for more details.
We currently copy over and update the entire metric slice to make small edits. Can we do this in place better even though even though we are dropping some points.

Describe the solution you'd like

We could potentially adjust the metric in place and avoid the copy of the metrics slice.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions