Skip to content

Parse Created timestamps from OpenMetrics text format #12980

@ArthurSens

Description

@ArthurSens

Proposal

In #12936, we added created timestamps to Prometheus proto inspired by the semantics used by OpenMetrics proto; in #12973, we added the ability to parse this same information. Just like OpenMetrics proto, OpenMetrics text already exposes Created Timestamps, but the way Prometheus interprets it is very different from how we wanted it to.

Following our recently accepted proposal (prometheus/proposals#29), we want to change how Prometheus parses created timestamps from OpenMetrics text.

This task is about implementing the CreatedTimestamp() function in openmetricsparse that was added in #12973 following what was proposed.

It should also be implemented behind the feature flag created-timestamp-ingestion

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions