client_java
client_java copied to clipboard
Prometheus instrumentation library for JVM applications
In the Java API, the following code works: ```java private final Gauge fillLevelGauge = Gauge.build() .name("fill_level") .help("Fill level") .register(); // ... fillLevelGauge.set(1d); ``` ... but the following code crashes with...
If we want send the tagged carbon format. In the doc, https://graphite.readthedocs.io/en/latest/tags.html We should use the ';' to split the metric name, tags values. But the graphite client is error.
**What** The current `SampleBuilder` interface's only method has the following signature: ``` Collector.MetricFamilySamples.Sample createSample(String dropwizardName, String nameSuffix, List additionalLabelNames, List additionalLabelValues, double value); ``` It would be useful for us...
Hi, Thanks for the custom mapper config on the dropwizard export. It makes creating tags really easy :heart: I found a restriction in the regex that makes it impossible for...
I am running my spring batch application as java -cp myapp.jar with option --spring.main.web-application-type=NONE. The counter metric doesn't get reported when executing **counter.labels(JOB_COMPLETED).inc();** The jar execution is a separate process...
Looks like servlet-api are moving to jakarta package names. Any plans for upgrading client_java to support it? It will probably take several years before everyone is over, so perhaps we...
A collector for the [Neo4j driver](https://neo4j.com/developer/java/) would be useful. It would be a new `simpleclient_neo4j` module (as per @fstab). The Neo4j driver is essentially made of the following nested scopes:...
Hello, I am developing a SpringBoot application that is executed on a Kubernetes cluster as a CronJob on a daily basis. The system has its own monitoring system based on...
This is something that indeed I think would be useful in all clients. As described here: https://prometheus.io/docs/prometheus/latest/federation/ **Use Case:** An internal library maintainer wants to scrape only metrics exported by...
Hi, After upgrading to v0.10.0, i can't make kafka metrics work anymore. See the stacktrace ` Caused by: java.lang.NoSuchFieldError: UNTYPED at io.micrometer.prometheus.PrometheusMeterRegistry.newMeter(PrometheusMeterRegistry.java:251) at io.micrometer.core.instrument.MeterRegistry.lambda$register$4(MeterRegistry.java:335) at io.micrometer.core.instrument.MeterRegistry.lambda$registerMeterIfNecessary$5(MeterRegistry.java:561) at io.micrometer.core.instrument.MeterRegistry.getOrCreateMeter(MeterRegistry.java:614) at io.micrometer.core.instrument.MeterRegistry.registerMeterIfNecessary(MeterRegistry.java:568)...