Skip to content

Commit a90bdd9

Browse files
authored
Polish "Grafana Dashboard" section (#5662)
1 parent 045ce20 commit a90bdd9

File tree

1 file changed

+3
-27
lines changed

1 file changed

+3
-27
lines changed

docs/modules/ROOT/pages/implementations/prometheus.adoc

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -86,34 +86,10 @@ See the https://prometheus.io/docs/querying/basics[Prometheus docs] for a far mo
8686

8787
=== Grafana Dashboard
8888

89-
A publicly available Grafana dashboard for Micrometer-sourced JVM and Tomcat metrics is available https://grafana.com/grafana/dashboards/4701-jvm-micrometer/[here].
89+
There are many third-party Grafana dashboards publicly available on https://grafana.com/grafana/dashboards/?search=micrometer[GrafanaHub].
90+
See an example https://grafana.com/grafana/dashboards/4701-jvm-micrometer/[here].
9091

91-
image::implementations/prometheus-dashboard.png[Grafana dashboard for JVM and Tomcat binders]
92-
93-
The dashboard features:
94-
95-
* JVM memory
96-
* Process memory (provided by https://github.com/mweirauch/micrometer-jvm-extras[micrometer-jvm-extras])
97-
* CPU-Usage, Load, Threads, File Descriptors, and Log Events
98-
* JVM Memory Pools (Heap, Non-Heap)
99-
* Garbage Collection
100-
* Classloading
101-
* Direct/Mapped buffer sizes
102-
103-
Instead of using the `job` tag to distinguish different applications, this dashboard makes use of a common tag called `application`, which is applied to every metric.
104-
You can apply the common tag, as follows:
105-
106-
[source,java]
107-
----
108-
registry.config().commonTags("application", "MYAPPNAME");
109-
----
110-
111-
In Spring Boot applications, you can use the https://docs.spring.io/spring-boot/docs/current/reference/html/actuator.html#actuator.metrics.customizing.common-tags[property support for common tags]:
112-
113-
[source,properties]
114-
----
115-
management.metrics.tags.application=MYAPPNAME
116-
----
92+
NOTE: The dashboards are maintained by the community in their external GitHub repositories, so if you have an issue, it should be created in their respective GitHub repository.
11793

11894
=== Counters
11995

0 commit comments

Comments
 (0)