Skip to content

PrometheusReceiver Configuration - Deprecate and remove UseStartTimeMetric and StartTimeMetricRegex #44180

@ArthurSens

Description

@ArthurSens

Component(s)

receiver/prometheus

Describe the issue you're reporting

In ancient times, Prometheus Receiver was implemented with options to process a particular metric not as a metric, but as a timestamp that would be used to populate the StartTimeUnixNano field in all other metrics that were being scraped together.

Since then, the community has noticed several problems with this approach and decided to migrate this functionality to another component: processor/metricstarttime.

This means that such functionality and configuration should be deprecated and eventually removed from Prometheus Receiver. The migration to metricstarttimeprocessor should also be properly documented.

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    In progress

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions