Available metrics in Prometheus format

The following table lists metrics that are exposed, i.e., for monitoring licensed throughput and common indicator values. Prometheus supports different metric types such as counter, gauge, histogram, and summary.

Container

Metric name

Metric type

Description

Engine

Standard Envoy metrics – see Envoy documentation.

airlock_microgateway_engine_build_info

gauge

Metric shows the static value 1, labeled by the Migrogateway Engine version information.

Example:
airlock_microgateway_engine_build_info{version="4.1.0"} 1

airlock_microgateway_engine_http_requests_blocked_total

counter

Number of requests which were blocked by an Airlock Microgateway filter.

airlock_microgateway_engine_triggered_deny_rule_total

counter

Number of requests which triggered the built-in deny rules.

airlock_microgateway_engine_license_ratelimit_requests_total

counter

Number of requests counted by the license filter.

airlock_microgateway_engine_license_ratelimit_requests_allowed_within_limit_total

counter

Number of requests within the licensed rate limit.

airlock_microgateway_engine_license_ratelimit_requests_allowed_service_error_total

counter

Number of allowed requests despite an error or unavailability of the License Guard.

airlock_microgateway_engine_license_ratelimit_requests_blocked_service_error_total

counter

Number of blocked requests due to an error or unavailability of the License Guard.

airlock_microgateway_engine_license_ratelimit_requests_blocked_over_limit_total

counter

Number of blocked requests due to exceeding the licensed limit.

airlock_microgateway_engine_license_ratelimit_requests_blocked_unlicensed_total

counter

Number of blocked requests due to an invalid/missing license or an unlicensed number of sidecars.

License Guard

airlock_microgateway_license_guard_current_requests_per_second

gauge

An approximate sliding-window average (>=0) of the combined throughput of all Airlock Microgateway Engines.

airlock_microgateway_license_guard_config_load_success_total

counter

Number of times the xDS configuration was successfully updated.

airlock_microgateway_license_guard_config_load_error_total

counter

Number of times the xDS configuration update failed.

airlock_microgateway_license_guard_grpc_ratelimit_requests_total

counter

Number of ratelimit gRPC requests received.

airlock_microgateway_license_guard_response_time_seconds

histogram

Response time histogram for rate limit requests.

airlock_microgateway_license_guard_errors_total

counter

Total number of errors of a certain type.

Operator

airlock_microgateway_sidecars

gauge

The number of injected Airlock Microgateway Engine sidecars managed by this Operator instance.

airlock_microgateway_license_max_sidecars 1

gauge

The licensed sidecar count. A value of inf means there is no limit.

airlock_microgateway_license_valid 1

gauge

Whether the Airlock Microgateway Operator has a valid license (1) or not (0).

airlock_microgateway_license_is_premium 1

gauge

Whether the active license (if any) is a premium license (1) or not (0).

airlock_microgateway_license_max_requests_per_second 1

gauge

The licensed throughput.

airlock_microgateway_license_expiry_timestamp_seconds 1

gauge

(Unix) timestamp when the active license expires.

airlock_microgateway_license_rate_limiting_enforced 1

gauge

Whether the Airlock Microgateway Operator currently enforces the licensed throughput limit (1) or not (0).

1

License-related metric. See also Licensing and license-dependent behavior article.
Note that when the license changes, the metrics are updated and the license status changed is logged. This can take up to 1 minute after the secret is adjusted since Kubernetes updates mounted config maps only periodically.