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 to the new prometheus client API #5280

Closed
aviau opened this Issue Oct 21, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@aviau
Copy link
Member

aviau commented Oct 21, 2018

Hello!

Debian has updated prometheus client to v0.9.0, whch has changed its API, breaking the Syncthing build.

It would be great if Syncthing moved to the new API.

See the log:

# github.com/syncthing/syncthing/cmd/stdiscosrv
src/github.com/syncthing/syncthing/cmd/stdiscosrv/stats.go:112:56: too
many arguments in call to prometheus.NewProcessCollector
        have (int, string)
        want (prometheus.ProcessCollectorOpts)

Cheers,

aviau added a commit that referenced this issue Oct 21, 2018

@calmh calmh added this to the v0.14.53 milestone Oct 31, 2018

@calmh calmh added the build label Oct 31, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.