From a295741ba8fb27989974b4e5989d26f12d015199 Mon Sep 17 00:00:00 2001 From: sarankumar1325 <120080287+sarankumar1325@users.noreply.github.com> Date: Fri, 30 Oct 2026 01:59:19 +0530 Subject: [PATCH] docs: fix dead client_java, Perses and Micrometer links Signed-off-by: sarankumar1325 <120080287+sarankumar1325@users.noreply.github.com> --- docs/instrumenting/exporters.md | 2 +- docs/instrumenting/writing_exporters.md | 4 ++-- docs/visualization/perses.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/instrumenting/exporters.md b/docs/instrumenting/exporters.md index 39be870ec..20fc03522 100644 --- a/docs/instrumenting/exporters.md +++ b/docs/instrumenting/exporters.md @@ -372,6 +372,6 @@ practices. * Java/JVM: [EclipseLink metrics collector](https://github.com/VitaNuova/eclipselinkexporter) * Java/JVM: [Hystrix metrics publisher](https://github.com/ahus1/prometheus-hystrix) * Java/JVM: [Jersey metrics collector](https://github.com/VitaNuova/jerseyexporter) - * Java/JVM: [Micrometer Prometheus Registry](https://micrometer.io/docs/registry/prometheus) + * Java/JVM: [Micrometer Prometheus Registry](https://docs.micrometer.io/micrometer/reference/implementations/prometheus.html) * Python-Django: [django-prometheus](https://github.com/korfuri/django-prometheus) * Node.js: [swagger-stats](https://github.com/slanatech/swagger-stats) diff --git a/docs/instrumenting/writing_exporters.md b/docs/instrumenting/writing_exporters.md index a9b4223df..6c43e09ec 100644 --- a/docs/instrumenting/writing_exporters.md +++ b/docs/instrumenting/writing_exporters.md @@ -345,7 +345,7 @@ in your `Collect()` method. For Python see [https://github.com/prometheus/client_python#custom-collectors](https://prometheus.github.io/client_python/collector/custom/) and for Java generate a `List` in your collect method, see -[StandardExports.java](https://github.com/prometheus/client_java/blob/master/simpleclient_hotspot/src/main/java/io/prometheus/client/hotspot/StandardExports.java) +[StandardExports.java](https://github.com/prometheus/client_java/blob/simpleclient/simpleclient_hotspot/src/main/java/io/prometheus/client/hotspot/StandardExports.java) for an example. The reason for this is two-fold. Firstly, two scrapes could happen at @@ -388,7 +388,7 @@ the Prometheus ecosystem, such metrics should be dropped. In the Java world, many instrumentation frameworks expose process-level and JVM-level stats such as CPU and GC. The Java client and JMX exporter already include these in the preferred form via -[DefaultExports.java](https://github.com/prometheus/client_java/blob/master/simpleclient_hotspot/src/main/java/io/prometheus/client/hotspot/DefaultExports.java), +[DefaultExports.java](https://github.com/prometheus/client_java/blob/simpleclient/simpleclient_hotspot/src/main/java/io/prometheus/client/hotspot/DefaultExports.java), so these should also be dropped. Similarly with other languages and frameworks. diff --git a/docs/visualization/perses.md b/docs/visualization/perses.md index 021782d25..494ba2018 100644 --- a/docs/visualization/perses.md +++ b/docs/visualization/perses.md @@ -26,7 +26,7 @@ login by default. ### Creating a Prometheus data source To learn about how to set up a data source in Perses, please refer -to [Perses documentation](https://perses.dev/perses/docs/concepts/datasources). +to [Perses documentation](https://perses.dev/perses/docs/concepts/datasource/). Once this connection to your Prometheus instance is configured, you are able to query it from the Dashboard and Explore views.