client_java
client_java copied to clipboard
Prometheus instrumentation library for JVM applications
We have 2 methods to sanitize metric name: - [`sanitizeMetricName(String metricName)`](https://prometheus.github.io/client_java/api/io/prometheus/metrics/model/snapshots/PrometheusNaming.html#sanitizeMetricName(java.lang.String)) - [`sanitizeMetricName(String metricName, Unit unit)`](https://prometheus.github.io/client_java/api/io/prometheus/metrics/model/snapshots/PrometheusNaming.html#sanitizeMetricName(java.lang.String,io.prometheus.metrics.model.snapshots.Unit)) These behave slightly differently and I think both are incorrect: ### 1. Handling of...
We are exploring native histograms in Prometheus and we are using Spring 2.7.x. Our existing monitoring dashboards rely on the default metrics exposed by Spring. Therefore, we need to include...
Fixes #971 - nullified volatile `noLabels` variable on `clear()` - enhanced `testClearNoLabels` @fstab @dhoard @tomwilkie
Fixed a synchronisation issue in Buffer where changes made by the doAppend() method may not always be visible to the run() method. With the bug the implementation was stuck in...
Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.33.0 to 2.34.0. Release notes Sourced from com.google.errorprone:error_prone_core's releases. Error Prone 2.34.0 Changes: Passing the javac flag --should-stop=ifError=FLOW is now required when running Error Prone (#4595) The...
Bumps [org.springframework:spring-context](https://github.com/spring-projects/spring-framework) from 4.3.30.RELEASE to 6.1.14. Release notes Sourced from org.springframework:spring-context's releases. v6.1.14 :star: New Features Use Locale.ROOT for locale neutral, case insensitive comparisons #33708 Improve checks for relative paths...
We have a use case where we need to record multiple observations of the same value in a Native Histogram. Currently, this requires calling the observe method repeatedly in a...
Bumps [io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha](https://github.com/open-telemetry/opentelemetry-java-instrumentation) from 2.8.0-alpha to 2.9.0-alpha. Release notes Sourced from io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha's releases. Version 2.8.0 This release targets the OpenTelemetry SDK 1.42.1. Note that many artifacts have the -alpha suffix attached...
@zeitlinger WRT https://github.com/prometheus/client_java/issues/1090
In Prometheus client 1.X, an equivalent for `simpleclient_logback` is missing. `simpleclient_logback` contained only one class `InstrumentedAppender`. It is easy to come up with an equivalent for 1.X (code below) but...