mirror of https://github.com/hashicorp/consul
[NET-3095] add jwt-authn metrics docs
parent
e4c9793ee2
commit
452d08d5e8
|
@ -952,6 +952,22 @@ Defines behavior for caching the validation result of previously encountered JWT
|
||||||
</Tab>
|
</Tab>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
||||||
|
## Metrics
|
||||||
|
|
||||||
|
The following `envoy` metrics can be used to track jwt authentication details.
|
||||||
|
|
||||||
|
~> **Note:** Envoy does not currently provide any documentation on these metrics.
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
http.ingress_http.jwt_authn.allowed
|
||||||
|
http.ingress_http.jwt_authn.cors_preflight_bypassed
|
||||||
|
http.ingress_http.jwt_authn.denied
|
||||||
|
http.ingress_http.jwt_authn.jwks_fetch_failed
|
||||||
|
http.ingress_http.jwt_authn.jwks_fetch_success
|
||||||
|
http.ingress_http.jwt_authn.jwt_cache_hit
|
||||||
|
http.ingress_http.jwt_authn.jwt_cache_miss
|
||||||
|
```
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
The following examples demonstrate common JWT provider configuration patterns for specific use cases.
|
The following examples demonstrate common JWT provider configuration patterns for specific use cases.
|
||||||
|
@ -1023,4 +1039,4 @@ spec:
|
||||||
```
|
```
|
||||||
|
|
||||||
</Tab>
|
</Tab>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
|
|
Loading…
Reference in New Issue