-
Notifications
You must be signed in to change notification settings - Fork 33
add github.com/prometheus/common/model to scraper and linting error t… #707
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
base: main
Are you sure you want to change the base?
Conversation
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.
Hi @alchen1218
The missing function is included in Prometheus common used in the Prometheus client_golang which is included as indirect dependency. The e Prometheus client_golang comes as a dependency of the system-metrics-scraper-release and as the commit is pinned it should be updated to the latest commit as in the system-metrics-scraper-release release.
Then run:
go mod tidy
go mod vendorand the dependencies will be updated with which you will fix the compilation problems.
|
chombium
left a comment
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.
@alchen1218 can you please check what's wrong with the CF Logging And Metrics CI Bot?
…o fix test