Skip to content

Conversation

@thampiotr
Copy link
Contributor

@thampiotr thampiotr commented Oct 24, 2025

PR Description

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

  • CHANGELOG.md updated
  • Documentation added
  • Tests updated
  • Config converters updated

@thampiotr thampiotr added the publish-dev:linux builds and deploys an image to grafana/alloy-dev container repository label Oct 24, 2025
@thampiotr
Copy link
Contributor Author

This seems to have fixed the clustering issues, but we now seem to have ran into this problem: prometheus/prometheus#17384

@thampiotr thampiotr force-pushed the thampiotr/fix-ckit-for-prom-upgrade branch from 0775564 to 7b60b33 Compare October 24, 2025 15:59
@thampiotr thampiotr changed the title Reapply Prometheus upgrade and fix ckit issue Reapply Prometheus upgrade and fix ckit & upstream issue Oct 30, 2025
@thampiotr thampiotr requested a review from Copilot October 30, 2025 12:02
Copy link
Contributor

Copilot AI left a 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 slicelabels build tag for a new label storage implementation
  • Adding the slicelabels build 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 slicelabels build tag to all build targets
.github/workflows/*.yml Add slicelabels tag to all test and build workflows
.golangci.yml Configure linter to use slicelabels build 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

@thampiotr thampiotr added publish-dev:linux builds and deploys an image to grafana/alloy-dev container repository and removed publish-dev:linux builds and deploys an image to grafana/alloy-dev container repository labels Oct 30, 2025
@thampiotr thampiotr marked this pull request as ready for review October 30, 2025 17:21
@thampiotr thampiotr requested a review from a team as a code owner October 30, 2025 17:21
@thampiotr
Copy link
Contributor Author

Tested this image in one of internal clusters and it's been good!

@thampiotr thampiotr enabled auto-merge (squash) October 30, 2025 17:22
@thampiotr thampiotr disabled auto-merge October 30, 2025 17:43
Copy link
Contributor

@kgeckhart kgeckhart left a comment

Choose a reason for hiding this comment

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

🚀

Related to: #4699

@thampiotr thampiotr merged commit 3e97c92 into main Oct 31, 2025
59 of 62 checks passed
@thampiotr thampiotr deleted the thampiotr/fix-ckit-for-prom-upgrade branch October 31, 2025 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

publish-dev:linux builds and deploys an image to grafana/alloy-dev container repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants