Hi,

client_java 1.0.0-alpha-5 
<https://github.com/prometheus/client_java/releases/tag/v1.0.0-alpha-5> is 
the current pre-release of the upcoming 1.0.0 version.

It adds the prometheus-metrics-simpleclinet-bridge module, which is the 
backwards-compatibility module for existing simpleclient metrics 
(client_java <= 0.16.0).

To include all metrics from the default simpliclient CollectorRegistry in 
the new default PrometheusRegistry, just add this line:
SimpleclientCollector .newBuilder() .register(); 

See the examples/example-simpleclient-bridge 
<https://github.com/prometheus/client_java/tree/1.0.x/examples/example-simpleclient-bridge>
 
on the 1.0.x <https://github.com/prometheus/client_java/tree/1.0.x> branch.

This completes the initial functionality for the 1.0.0 release. Next step 
is some refactoring (we want to rename all Builder methods to Lombok 
<https://projectlombok.org/features/Builder> naming conventions because 
that's what people are used to from Spring). And finally, lots of 
documentation!

Fabian

-- 
You received this message because you are subscribed to the Google Groups 
"prometheus-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-announce+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/prometheus-announce/efd18f12-f5a9-44eb-ab1b-cc1fa0dd7840n%40googlegroups.com.

Reply via email to