Skip to content

Bug: OTLP endpoint only generates a target_info sample for the most recent timestamp #11756

@aknuds1

Description

@aknuds1

What is the bug?

When the Mimir OTLP endpoint converts an OTLP request to the Mimir equivalent, it generates a target_info time series for each resource contained in the request. However, for every resource, it only generates a target_info sample for the latest timestamp of all data points (samples).

How to reproduce it?

Send a request to Mimir's OTLP endpoint, containing several samples for the same metric. You should see that target_info only starts at the time of the last sample in the metric.

What did you think would happen?

I would expect for target_info samples to start at the same time as the metric itself.

What was your environment?

Grafana Cloud.

Any additional context to share?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions