Skip to content

Commit 49ee044

Browse files
committed
Docs
1 parent 310c260 commit 49ee044

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/server/observability.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@ val prometheusMetrics = PrometheusMetrics[Future]("tapir", PrometheusRegistry.de
129129

130130
## Prometheus simpleclient metrics
131131

132+
```{warning}
133+
Prometheus simpleclient is deprecated and will be removed in a future version. It's recommended to use
134+
`tapir-prometheus-metrics` instead, and only use this module as a temporary migration path.
135+
```
136+
132137
Add the following dependency:
133138

134139
```scala
@@ -281,8 +286,6 @@ By default, the following metrics are exposed:
281286
* `http.server.requests.total` (counter)
282287
* `http.server.request.duration` (histogram)
283288

284-
285-
286289
## Datadog Metrics
287290

288291
Add the following dependency:

0 commit comments

Comments
 (0)