Fabian Stäber
Fabian Stäber
Thanks a lot for the detailed report Riccardo! Your hunch is right: The new behaviour is what it was intended to be from the beginning. Technically, `test_metric_total` and `test_metric` are...
The benefit of the current `Collector` interface is that it's a functional interface, i.e. you can simply register a Lambda with a `PrometheusRegistry`: ```java registry.register(() -> CounterSnapshot.builder() .name("my_count") .dataPoint(CounterDataPointSnapshot.builder() .labels(Labels.of("key",...
Thanks for the PR. I don't think the trailing comma was the root cause of your issue. * The data you see in your browser is not the data the...
Hi @zorba128, thanks a lot for reaching out. Do you think the `GaugeWithCallback` or `CounterWithCallback` would help in your case? Here's an example from the `JvmMemoryMetrics`: ```java GaugeWithCallback.builder() .name("jvm_memory_bytes_used") .help("Used...
Thanks a lot for your feedback Marcin, I appreciate your input. I'm open to extending the API, but I'm still trying to understand if the current API can be used...
Thanks a lot for your thoughts, highly appreciated. Sorry for not responding yet, but I put it on top of my todo list for tomorrow.
Thanks for your patience. I think I understand your approach. One thing in the current implementation that prevents this is that metric names must be unique: You cannot register multiple...
> Callback metrics (GaugeWithCallback) are rather getting fixed values (an example in javadocs will collect memory usage once during creation of the Guage) and will return it always. I think...
Thanks for bringing this up. I agree there's currently no way to unregister `JvmBufferPoolMetrics`. If we want to add support for unregistering, there are multiple ways to implement it: 1....
Hi @tashoyan, thanks for reaching out. We are currently working on the `1.0.0` release of `client_java`, which will include a complete rewrite of the low level data model (replacing things...