Counter for authorization attempts

Counts the number of authorization attempts, categorized by mode and the status of the response.

Table 1. fourjs_gip_authorization_count
Labels Value Purpose
  1. mode: The mode label may be one of the following values shown in the table below.
    Value Description
    start_authorization Authorization started
    complete_authorization Authorization completed
  2. status: The status label may be one of the following values shown in the table below.
    Value Description
    ok Request successfully processed
    error Unexpected error: (see logs)
Number of authorization attempts depending on the mode.
  • Count the number of start authorization requests.
  • Count the number of completed authorization requests.
  • May raise an error if there are more start_authorization requests than complete_authorization requests or errors

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_authorization_count Number of requests for authorization
# TYPE fourjs_gip_authorization_count counter
fourjs_gip_authorization_count{mode="complete_authorization",status="ok"} 1
fourjs_gip_authorization_count{mode="start_authorization",status="ok"} 2