Hello,

1.0.0-alpha-4 is the current pre-release for the upcoming 1.0.0 version.

It adds the prometheus-metrics-instrumentation-jvm module, which is a port 
of the simpleclient default exports to the new metrics library:
JvmMetrics
        .newBuilder()
        .register();

If a unit is present, the new metrics library requires the unit to be the 
last part of the metric name, as defined in Prometheus Metric and Label 
Naming <https://prometheus.io/docs/practices/naming/>. Therefore we had to 
rename a few default metrics:

   - jvm_memory_bytes_init -> jvm_memory_init_bytes
   - jvm_memory_bytes_committed -> jvm_memory_committed_bytes
   - jvm_memory_bytes_max -> jvm_memory_max_bytes
   - jvm_memory_bytes_used -> jvm_memory_used_bytes
   - jvm_memory_pool_bytes_init -> jvm_memory_pool_init_bytes
   - jvm_memory_pool_bytes_committed -> jvm_memory_pool_committed_bytes
   - jvm_memory_pool_bytes_max -> jvm_memory_pool_max_bytes
   - jvm_memory_pool_bytes_used -> jvm_memory_pool_used_bytes

Apart from that, jvm_info was renamed to jvm_runtime_info.

If these breaking changes are an issue: There will be a compatibility 
module that will allow you to use the old simpleclient default exports with 
the new metrics library.

There still isn't much documentation yet, but for each new module there's 
an end-to-end example and a README in the examples/ 
<https://github.com/prometheus/client_java/tree/1.0.x/examples> directory 
(on the 1.0.x branch <https://github.com/prometheus/client_java/tree/1.0.x>
).

The next features on the roadmap towards 1.0.0 is a backwards-compatibility 
module for existing simpleclient.

-- 
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/d5119804-abd1-4163-a3cf-c74b7a63babfn%40googlegroups.com.

Reply via email to