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

Add insight=true to push handlers #8294

Merged
merged 6 commits into from
Jun 6, 2024
Merged

Conversation

pstibrany
Copy link
Member

What this PR does

This PR adds insight=true label to push handlers when we're logging push error with 4xx status code.

This applies to both Prometheus and OTLP handlers. This PR also fixes some issues with updated OTLP handler found in #8227

Checklist

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

Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
@pstibrany pstibrany requested a review from a team as a code owner June 6, 2024 11:11
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
pkg/distributor/push.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@pracucci pracucci left a comment

Choose a reason for hiding this comment

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

Nice work Peter. I'm good with this change. I would just consider a more descriptive error message.

CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
Signed-off-by: Peter Štibraný <pstibrany@gmail.com>
@pstibrany pstibrany merged commit 9c3c70b into main Jun 6, 2024
29 checks passed
@pstibrany pstibrany deleted the add-insight-label-to-push-handlers branch June 6, 2024 13:53
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