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

Support for CentOS8 RHEL8 Rocky8 #62

Open
DevYves89 opened this issue Sep 19, 2023 · 0 comments
Open

Support for CentOS8 RHEL8 Rocky8 #62

DevYves89 opened this issue Sep 19, 2023 · 0 comments

Comments

@DevYves89
Copy link

It appears that 'go get' is no longer supported due to changes with golang.

The replacement command would be 'go install' which would replace both get & build.

e.g.

go install github.com/griesbacher/nagflux@latest

Unfortunately, this fails for me with the below error due to changes to prometheus.

go/pkg/mod/github.com/griesbacher/[email protected]/statistics/prometheus.go:110:39: undefined: prometheus.Handler

My understanding is that this line now needs to read promhttp.Handler not prometheus.Handler

Also, the import statement in this go file needs editing to include the prometheus promhttp module.

I have been unable to get this working as I have little experience with go projects.

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

1 participant