Skip to content

[metricstarttimeprocessor] Add start_time_metric strategy #38383

@dashpole

Description

@dashpole

Component(s)

processor/metricstarttime

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

The Prometheus receiver can use the "process_start_time" metric to set the start time of metrics when the start time is not known. In order to provide a migration path for users off of that, we should implement a start_time_metric strategy in the processor.

Describe the solution you'd like

When this strategy is selected, it should default to looking for the process_start_time metric, similar to the Prometheus receiver. It should support the same configuration options the prometheus receiver supports. This includes being able to fall back to the collector's start time, or selecting a different start time metric.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions