Monitor Microgateway Licenses
A valid license is required unless Airlock Microgateway is used in the Community Edition. To use premium features, request an evaluation license or obtain a premium license from your sales partner. The available editions are compared in Editions.
License validity and behavior
The possible license states and their effects are described in the following table.
License validity | Definition | Microgateway Engine behavior |
|---|---|---|
Valid license |
|
|
Expired license |
|
|
Insufficient license |
|
|
|
| |
Invalid license |
|
|
If no license is provided, Airlock Microgateway operates in Community Edition mode. If premium features are configured, the resulting license state is Insufficient license.
Monitor the licensed throughput
The Airlock Microgateway premium license model is trust-based and applies to calendar-based monthly request rates. You should upgrade your license if the number of requests exceeds the licensed count.
Monitoring request throughput is not required in the following cases:
- Community Edition: The available features can be used free of charge and without restriction.
- Evaluation license: The licensed throughput limit is enforced automatically.
Due to the default Prometheus storage retention, metrics data might not cover the required time range. Therefore, we recommend setting up a dedicated Prometheus deployment with a higher storage retention for metrics that monitor license throughput.
Microgateway license dashboard
The easiest way to get an estimate of the license relevant request count, use the Microgateway licensing dashboard, which is created and maintained by Airlock. For more information see Grafana Dashboards for Metrics and Log Visualization.
With your own tooling
To monitor license usage with your own monitoring stack, use the following Prometheus metrics exposed by the Microgateway Operator:
microgateway_license_http_rq_total(counter): Total number of license relevant HTTP requests processed. To determine license usage, calculate the increase of the number of requests within a calendar month.microgateway_license_max_rq_count_per_month(gauge): The licensed request count per month.
