Skip to content

Commit 86df403

Browse files
committed
Add web server/client percentile config docs
Relates to: micronaut-projects#338
1 parent 5b3660a commit 86df403

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/main/docs/guide/metricsConcepts.adoc

+15
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,21 @@ There is a default web filter provided for web metrics. All routes, status codes
8282
.Filter Path
8383
If enabled, by default the path `/**` is intercepted. To change which paths are run through the filter for the server, set `micronaut.metrics.http.path`. For the client, set `micronaut.metrics.http.client.path`.
8484

85+
.Enabling Percentiles
86+
87+
Percentile configurations can be added to HTTP server and client metrics. Percentiles can be provided via a CSV as shown below.
88+
89+
[source,yaml]
90+
----
91+
metrics:
92+
binders:
93+
web:
94+
server:
95+
percentiles: "0.95,0.99"
96+
client:
97+
percentiles: "0.95,0.99"
98+
----
99+
85100
.Metrics provided
86101
|=======
87102
|*Name*

0 commit comments

Comments
 (0)