Export prometheus metrics

This commit is contained in:
Simon Detheridge
2021-06-22 13:06:40 +01:00
parent d5fa029b54
commit eb9cf6f256
3 changed files with 74 additions and 0 deletions
+18
View File
@@ -194,5 +194,23 @@
<artifactId>commons-compress</artifactId>
<version>1.15</version>
</dependency>
<!-- prometheus metrics -->
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient</artifactId>
<version>0.10.0</version>
</dependency>
<!-- Hotspot JVM metrics -->
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient_hotspot</artifactId>
<version>0.10.0</version>
</dependency>
<!-- Expose metrics via a servlet -->
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient_servlet</artifactId>
<version>0.10.0</version>
</dependency>
</dependencies>
</project>