Closed eherot closed 5 years ago
Having the same issue, started today as this one just got released. https://rubygems.org/gems/prometheus-client/versions/0.4.2
fluent-plugin-prometheus
gemspec should have version locking such as ~> 0.9.0
https://github.com/fluent/fluent-plugin-prometheus/blob/master/fluent-plugin-prometheus.gemspec#L17
Release v1.6.1 with pinned prometheus-client version. Thanks for the report.
Do you have any backporting plan for this fix?
Why backport is needed? For v1, latest version is recommended.
We are currently using 1.3.0 and all the new docker builds started failing due to this dependency issue. As a workaround, I added prometheus-client 0.9 installation prior to fluent-plugin-prometheus
installation, but just curious if there will be backports so we can plan ahead the future versioning.
Here's the relevant part of the stack trace from the fluentd logs:
From the looks of it the problem is this code:
...which no longer works because of this change (although even more arguments have since been added).
Adding a version constraint to limit
prometheus-client
to0.9.0
seems to be an effective workaround but obviously it isn't a good permanent solution.