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

Update Prometheus Go Module Dependency #1

Open
ihcsim opened this issue Apr 19, 2021 · 2 comments
Open

Update Prometheus Go Module Dependency #1

ihcsim opened this issue Apr 19, 2021 · 2 comments

Comments

@ihcsim
Copy link
Owner

ihcsim commented Apr 19, 2021

promdump depends on a very old version (v1.8.2-0.20201015110737-0a7fdd3b7696) of Prometheus Go module. We should update go.mod to use a newer version. More info can be found in this issue. My recent attempt to upgrade this shows that there are some conflicts in the version of the go-openapi depended by kustomize (which is an indirect dependency of cli-runtime), and that depended by Prometheus.

@ihcsim ihcsim changed the title Update Prometheus Go Module Update Prometheus Go module Apr 19, 2021
@ihcsim ihcsim changed the title Update Prometheus Go module Update Prometheus Go Module Dependency May 6, 2021
@i4o
Copy link

i4o commented Oct 27, 2024

Seems like v1.8.2 of prometheus go module was retracted. Are there any plans to fix this? As you probably know, there are more vulnerabilities at the moment, what are your plans with this project? Seems to be abandoned :).

@ihcsim
Copy link
Owner Author

ihcsim commented Nov 30, 2024

I haven't been following the upstream go mod issue for a while. Ultimately, promdump only needs the github.com/prometheus/prometheus/tsdb[/*] packages. There is a drawn-out conversation in prometheus/prometheus#8852. Do you know if it's easier to use go mod to manage prometheus as a library these days?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants