Counter for access token validations

Counts the number of access tokens validated based on the URL of the service, categorized by the status of the response.

Table 1. fourjs_gip_access_count
Labels Value Purpose
  1. url: URL of service that requires token validation.
  2. status: The status label may be one of the following values shown in the table below.
    Value Description
    ok Access token validated and decoded and forwarded to initial service
    denied Access token invalid or missing
    error Unexpected error: (see logs)
Number of access token verifications per service
  • Count the number of access token validations.
  • May raise an alert if there are too many denied or error attempts

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_access_count Number of access attempts per service
# TYPE fourjs_gip_access_count counter
fourjs_gip_access_count{url="/ws/r/CalculatorServer",status="ok"} 6
fourjs_gip_access_count{url="/ws/r/CalculatorServer",status="denied"} 2
fourjs_gip_access_count{url="/ws/r/admin/GeneroProfileService/userinfo/v1/query",status="ok"} 1
fourjs_gip_access_count{url="/ws/r/admin/GeneroProfileService/userinfo/v1/me",status="ok"} 1