Skip to content

fix breaking change in prom metrics validation scheme #2781

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

Merged
merged 3 commits into from
Feb 20, 2025

Conversation

thampiotr
Copy link
Contributor

The recent upgrade of prommetheus/common brought in this PR: prometheus/common#724 which is a breaking change for Alloy.

In this PR I restore the old behaviour manually in Alloy's run command and expose the option to enable the new utf-8 behaviour optionally. This is done via CLI flag in first iteration, but may change in the future, so the flag is marked as experimental right away.

Copy link
Contributor

github-actions bot commented Feb 20, 2025

💻 Deploy preview deleted.

Copy link
Contributor

@mattdurham mattdurham left a comment

Choose a reason for hiding this comment

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

Still in draft but LGTM :)

@thampiotr thampiotr marked this pull request as ready for review February 20, 2025 15:58
@thampiotr thampiotr requested review from clayton-cornell and a team as code owners February 20, 2025 15:58
@thampiotr thampiotr merged commit afefeed into main Feb 20, 2025
32 checks passed
@thampiotr thampiotr deleted the thampiotr/fix-utf-8-validation branch February 20, 2025 16:46
thampiotr added a commit that referenced this pull request Feb 20, 2025
* fix breaking change in prom metrics validation scheme

* add test and changelog

* punctuation
thampiotr added a commit that referenced this pull request Feb 20, 2025
* fix breaking change in prom metrics validation scheme

* add test and changelog

* punctuation
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants