- 
                Notifications
    You must be signed in to change notification settings 
- Fork 451
Reapply Prometheus upgrade and fix ckit & upstream issue #4671
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 seems to have fixed the clustering issues, but we now seem to have ran into this problem: prometheus/prometheus#17384 | 
0775564    to
    7b60b33      
    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.
Pull Request Overview
This PR upgrades Prometheus to version v3.7.3 (from v3.4.2) and updates the Prometheus dependency from github.com/prometheus/prometheus to a Grafana fork. The key changes include:
- Upgrading to Prometheus v3.7.3 which introduces the slicelabelsbuild tag for a new label storage implementation
- Adding the slicelabelsbuild tag to all build configurations and test workflows
- Updating various dependency versions (Loki, OTel Collector, cloud SDKs, etc.)
- Adapting code to API changes in Prometheus v3.7.3 (decoder initialization, validation scheme types, etc.)
Reviewed Changes
Copilot reviewed 57 out of 58 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description | 
|---|---|
| go.mod, go.sum | Update dependencies including Prometheus fork, Loki, OTel Collector components, and cloud SDKs | 
| Makefile, Dockerfiles | Add slicelabelsbuild tag to all build targets | 
| .github/workflows/*.yml | Add slicelabelstag to all test and build workflows | 
| .golangci.yml | Configure linter to use slicelabelsbuild tag | 
| internal/component/common/loki/client/*.go | Implement build-tag-specific label conversion for slicelabels support | 
| internal/static/metrics/wal/*.go | Update Prometheus decoder initialization with new API | 
| internal/component/prometheus/*.go | Adapt to Prometheus validation scheme API changes | 
| internal/static/config/*.go | Update validation scheme and escaping scheme configurations | 
| Tested this image in one of internal clusters and it's been good! | 
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.
🚀
Related to: #4699
PR Description
Which issue(s) this PR fixes
Notes to the Reviewer
PR Checklist