Skip to content

Commit caa9ff5

Browse files
committed
Missing micrometer registry classes fix #1225
1 parent 429b1b0 commit caa9ff5

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ jacoco.exec
2424
node
2525
dump
2626
TODO.md
27-
.interp
27+
.interp
28+
.factorypath

doc/doc/micrometer/micrometer.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,15 @@ import org.jooby.micrometer.PrometheusHandler;
7878
}
7979
```
8080

81+
> NOTE: for each additional registry, you must add the corresponding `micrometer` depedency. For <a href="https://prometheus.io/">Prometheus</a>:
82+
83+
```xml
84+
<dependency>
85+
<groupId>io.micrometer</groupId>
86+
<artifactId>micrometer-registry-prometheus</artifactId>
87+
</dependency>
88+
```
89+
8190
## timed annotation
8291

8392
Jooby supports the ```io.micrometer.core.annotation.Timed``` annotation for MVC routes:

0 commit comments

Comments
 (0)