About
This project currently uses prometheus_lib=0.16.0. It looks like the most recent release is v1.3.5, and v1.0.0 introduced a breaking change.
Migration notes
The Prometheus Java client library 1.0.0 is a complete rewrite of the underlying data model, and is not backwards compatible with releases 0.16.0 and older.
Good news: Users of version 0.16.0 and older do not need to refactor all their instrumentation code to get started with 1.0.0.
We provide a migration module for bridging the old simpleclient CollectorRegistry to the new PromethesuRegistry.
Updating to the 1.0.0 version is a breaking change. However, there’s a prometheus-metrics-simpleclient-bridge module available that allows you to use your existing simpleclient 0.16.0 metrics with the new 1.0.0 PrometheusRegistry. So you don’t need to upgrade your instrumentation code, you can keep using your existing metrics. See the compatibility > simpleclient in the menu on the left.
Resources
/cc @matriv, @kneth, @surister
About
This project currently uses
prometheus_lib=0.16.0. It looks like the most recent release is v1.3.5, and v1.0.0 introduced a breaking change.Migration notes
Resources
/cc @matriv, @kneth, @surister