Tags
method
-
HTTP method.
outcome
-
A more general outcome tag.
status
-
The HTTP status code.
uri
-
The requested URI.
This is part of the Troubleshooting using metrics guide.
Metrics need to be enabled for Keycloak. Follow the Gaining insights with metrics guide for more details.
A monitoring system collecting the metrics.
The processing time is exposed by these metrics, to monitor the Keycloak performance and how long it takes to processing the requests.
On a healthy cluster, the average processing time will remain stable. Spikes or increases in the processing time may be an early sign that some node is under load. |
Tags
method
HTTP method.
outcome
A more general outcome tag.
status
The HTTP status code.
uri
The requested URI.
Metric | Description |
---|---|
|
The total number of requests processed. |
|
The total duration for all the requests processed. |
You can enable histograms for this metric by setting http-metrics-histograms-enabled
to true
, and add additional buckets for service level objectives using the option http-metrics-slos
.
When histograms are enabled, the percentile buckets are available. Those are useful to create heat maps and analyze latencies, still collecting and exposing the percentile buckets will increase the load of to your monitoring system. |
The current number of active requests is also available.
Metric | Description |
---|---|
|
The current number of active requests |
The metrics below helps to monitor the bandwidth and consumed traffic used by Keycloak and consumed by the requests and responses received or sent.
Metric | Description |
---|---|
|
The total number of responses sent. |
|
The total number of bytes sent. |
|
The total number of requests received. |
|
The total number of bytes received. |
When histograms are enabled, the percentile buckets are available. Those are useful to create heat maps and analyze latencies, still collecting and exposing the percentile buckets will increase the load of to your monitoring system. |
Return back to the Troubleshooting using metrics or,
For single site deployments proceed to Clustering metrics,
and for multiple sites deployments proceed to Embedded Infinispan metrics for multi-site deployments