Skip to content

Idea: Unify metric discards names across the platform/products #12758

@AleksandraGrafana

Description

@AleksandraGrafana

What is the problem you are trying to solve?

I was working on a customer case, where they were experiencing various discards on their metrics ingestion. One of the discard reasons was new-value-for-timestamp, that we can see in the Billing dashboard's discards section. I advised them to investigate the logs in their Alloy for this at first, and I referred to the end-user facing errors we have defined. I could not find this particular reason on the list and assumed it was too-far--in-future reason, however I could not find this particular error in the distributor logs on our side. It turns out the cause of new-value-for-timestamp was sample-duplicate-timestamp .

Image

Which solution do you envision (roughly)?

The metrics discard reasons names are unified across the platform, so no matter where you look for the logs related to the discards (internal logs, Alloy logs), you are on the same page and the reason names are the same. The customers can easily search for their discards reasons on their side.

Have you considered any alternatives?

No response

Any additional context to share?

No response

How long do you think this would take to be developed?

Not sure

What are the documentation dependencies?

No response

Proposer?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions