Counter for tokens created
Counts the number of tokens created based on different methods for obtaining tokens, categorized by the status of the response.
| Labels | Value | Purpose | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Number of tokens created or failed |
|
This metric is set by default in the GAS and can be disabled
through the BDL Prometheus API by setting prometheus.enabled=false in the
fglprofile.
Metric
examples
# HELP fourjs_gip_token_request_count Number of requests for tokens
# TYPE fourjs_gip_token_request_count counter
fourjs_gip_token_request_count{mode="client_credentials",status="ok"} 1
fourjs_gip_token_request_count{mode="authorization_code",status="ok"} 2
fourjs_gip_token_request_count{mode="password",status="ok"} 1
fourjs_gip_token_request_count{mode="refresh_token",status="ok"} 2
fourjs_gip_token_request_count{mode="client_credentials",status="denied"} 2