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

Temporarily symlink pkg and util/modtimevfs #28

Closed
wants to merge 5 commits into from

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Feb 3, 2022

Grafana Agent dependencies (i.e., Promtail) are using old paths for some Prometheus packages. Updating them would be a challenge and require immediately switching over to grafana/dskit, which is a non-trivial upgrade.

This commit temporarily works around the solution by symlinking the old path names so existing agent dependencies that use older versions of Prometheus can continue to work without needing to be upgraded immediately.

rfratto and others added 5 commits February 3, 2022 11:38
This commit exposes the string interner globally with a shared pool and
modifies both the scraper and remote_write to use that shared pool.

Note that the string_interner_zero_reference_releases_total now has a
different namespace and subsystem from what it was initially set to in
the RW code.

Signed-off-by: Robert Fratto <robert.fratto@grafana.com>
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
Signed-off-by: Paschalis Tsilias <paschalist0@gmail.com>
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
Grafana Agent dependencies (i.e., Promtail) are using old paths for some
Prometheus packages. Updating them would be a challenge and require
immediately switching over to grafana/dskit, which is a non-trivial
upgrade.

This commit temporarily works around the solution by symlinking the old
path names so existing agent dependencies that use older versions of
Prometheus can continue to work without needing to be upgraded
immediately.

Signed-off-by: Robert Fratto <robertfratto@gmail.com>
@rfratto
Copy link
Member Author

rfratto commented Feb 3, 2022

Closing. I tested this locally and it's not enough to symlink the packages; the APIs also changed in general so the other dependencies still fail to build.

@rfratto rfratto closed this Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants