Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[weekly-r304] Cherry pick created timestamp fix #9217

Merged
merged 5 commits into from
Sep 6, 2024

Conversation

jesusvazquez
Copy link
Member

What this PR does

This PR updates weekly-r304 to introduce

Which issue(s) this PR fixes or relates to

Fixes #

Checklist

  • Tests updated.
  • Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • about-versioning.md updated with experimental features.

@jesusvazquez jesusvazquez changed the title Jvp/r304 with created timestamp fix [weekly-r304] Cherry pick created timestamp fix Sep 6, 2024
@jesusvazquez jesusvazquez changed the base branch from main to r304 September 6, 2024 13:18
@jesusvazquez jesusvazquez marked this pull request as ready for review September 6, 2024 13:27
@jesusvazquez jesusvazquez requested review from stevesg, grafanabot and a team as code owners September 6, 2024 13:27
@jesusvazquez jesusvazquez merged commit 15f3799 into r304 Sep 6, 2024
29 checks passed
@jesusvazquez jesusvazquez deleted the jvp/r304-with-created-timestamp-fix branch September 6, 2024 14:25
@@ -410,7 +410,7 @@ func otelMetricsToTimeseries(ctx context.Context, tenantID string, addSuffixes b
converter := otlp.NewMimirConverter()
errs := converter.FromMetrics(ctx, md, otlp.Settings{
AddMetricSuffixes: addSuffixes,
})
}, logger)
Copy link
Member

Choose a reason for hiding this comment

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

Should have been spanLogger. Also on later line.

(Fixed in #9246)

pstibrany pushed a commit that referenced this pull request Sep 12, 2024
* [weekly-r304] Cherry pick created timestamp fix

* Empty commit to trigger CI

* Pass logger to FromMetrics

* Fix test

* Enough attributes for NewAPI
@pstibrany pstibrany mentioned this pull request Sep 12, 2024
pstibrany added a commit that referenced this pull request Sep 13, 2024
* Update mimir-prometheus from weekly-r305.

Signed-off-by: Peter Štibraný <[email protected]>

* [weekly-r304] Cherry pick created timestamp fix (#9217)

* [weekly-r304] Cherry pick created timestamp fix

* Empty commit to trigger CI

* Pass logger to FromMetrics

* Fix test

* Enough attributes for NewAPI

* OTLP: Convert start timestamps to Mimir created timestamps (#9236)

Signed-off-by: Arve Knudsen <[email protected]>
Signed-off-by: Jesus Vazquez <[email protected]>
Co-authored-by: Arve Knudsen <[email protected]>

* Pass spanLogger as logger for OTEL conversion. (#9246)

Signed-off-by: Peter Štibraný <[email protected]>

---------

Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Arve Knudsen <[email protected]>
Signed-off-by: Jesus Vazquez <[email protected]>
Co-authored-by: Jesus Vazquez <[email protected]>
Co-authored-by: Arve Knudsen <[email protected]>
pstibrany added a commit that referenced this pull request Sep 17, 2024
* Update mimir-prometheus from weekly-r305.

Signed-off-by: Peter Štibraný <[email protected]>

* [weekly-r304] Cherry pick created timestamp fix (#9217)

* [weekly-r304] Cherry pick created timestamp fix

* Empty commit to trigger CI

* Pass logger to FromMetrics

* Fix test

* Enough attributes for NewAPI

* OTLP: Convert start timestamps to Mimir created timestamps (#9236)

Signed-off-by: Arve Knudsen <[email protected]>
Signed-off-by: Jesus Vazquez <[email protected]>
Co-authored-by: Arve Knudsen <[email protected]>

* Pass spanLogger as logger for OTEL conversion. (#9246)

Signed-off-by: Peter Štibraný <[email protected]>

---------

Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Arve Knudsen <[email protected]>
Signed-off-by: Jesus Vazquez <[email protected]>
Co-authored-by: Jesus Vazquez <[email protected]>
Co-authored-by: Arve Knudsen <[email protected]>
@pstibrany pstibrany mentioned this pull request Sep 17, 2024
pstibrany added a commit that referenced this pull request Sep 17, 2024
* Update mimir-prometheus from weekly-r306 branch.

Signed-off-by: Peter Štibraný <[email protected]>

* Update r305 (#9285)

* Update mimir-prometheus from weekly-r305.

Signed-off-by: Peter Štibraný <[email protected]>

* [weekly-r304] Cherry pick created timestamp fix (#9217)

* [weekly-r304] Cherry pick created timestamp fix

* Empty commit to trigger CI

* Pass logger to FromMetrics

* Fix test

* Enough attributes for NewAPI

* OTLP: Convert start timestamps to Mimir created timestamps (#9236)

Signed-off-by: Arve Knudsen <[email protected]>
Signed-off-by: Jesus Vazquez <[email protected]>
Co-authored-by: Arve Knudsen <[email protected]>

* Pass spanLogger as logger for OTEL conversion. (#9246)

Signed-off-by: Peter Štibraný <[email protected]>

---------

Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Arve Knudsen <[email protected]>
Signed-off-by: Jesus Vazquez <[email protected]>
Co-authored-by: Jesus Vazquez <[email protected]>
Co-authored-by: Arve Knudsen <[email protected]>

* Update mimir-prometheus, regenerate OTLP conversion code.

Signed-off-by: Peter Štibraný <[email protected]>

---------

Signed-off-by: Peter Štibraný <[email protected]>
Signed-off-by: Arve Knudsen <[email protected]>
Signed-off-by: Jesus Vazquez <[email protected]>
Co-authored-by: Jesus Vazquez <[email protected]>
Co-authored-by: Arve Knudsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants