-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Upgrade client_golang to 1.21.0-rc.0 (and common to 0.62.0 with model.NameValidationScheme breaking change) #15851
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
Conversation
This tests 1.21.0-rc.0 as per https://github.com/prometheus/client_golang/blob/main/RELEASE.md We could merge it too as an early adopter. Signed-off-by: bwplotka <bwplotka@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
With that many CI failures, it looks likely that the dependency update broke something 🤔 |
It's kind of expected for Prometheus which carefully checks metric chars etc, but yea it's going to be a painful. |
Signed-off-by: bwplotka <bwplotka@gmail.com>
Signed-off-by: bwplotka <bwplotka@gmail.com>
bc5f0fb
to
80d702a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good to me, but I'm not the expert here. Needs others to approve.
Note that this is not just a dependency update, but fixes bugs that have been there before the update. (We just note them now by making UTF-8 support the default.)
Is it even possible now to write a target label that contains a literal |
Both rulefmt and relabel decisions are not trivial, so I am happy to keep the old behaviour for this PR and create issues to tackle later. |
Maybe let @ywwg decide how and in which order best to tackle these. |
Yup, I pinged Owen on slack too. |
looking now sorry for the delay |
imho, it seems unlikely that someone will want to make |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good overall, thank you
Co-authored-by: Owen Williams <owen.williams@grafana.com> Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: bwplotka <bwplotka@gmail.com>
1469535
to
36cf85f
Compare
This tests 1.21.0-rc.0 as per https://github.com/prometheus/client_golang/blob/main/RELEASE.md
We could merge it too as an early adopter.
Known effects (as I had to change tests):
${}
vars.record: metric{label="val"}
is a correct metric name or mistake (should be in expr). I opted for disallowing{}
chars and catch this (potential) mistake. We can relax it later if needed...Given this replaces a global var, do you mind double checking this PR @ywwg @beorn7 ?