Skip to content

Conversation

@gouthamve
Copy link
Member

This brings in support for metric metadata in OTLP ingest.

TODO: tests

This brings in support for metric metadata in OTLP ingest.

Signed-off-by: Goutham <[email protected]>
Copy link
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏽 Thanks!

if settings.ExportCreatedMetric && startTimestamp != 0 {
createdLabels := createLabels(baseName + createdSuffix)
addCreatedTimeSeriesIfNeeded(tsMap, createdLabels, startTimestamp, metric.Type().String())
addCreatedTimeSeriesIfNeeded(tsMap, createdLabels, startTimestamp, pt.Timestamp(), metric.Type().String())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps this could use proper CT handling at one point (: (e.g. through metadata)

cc @ArthurSens

@krajorama
Copy link
Member

Hello from the bug scrub: @gouthamve is this still relevant ? Please close if not.

@aknuds1
Copy link
Contributor

aknuds1 commented Sep 27, 2024

@gouthamve ping!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants