The A1 Policy Management Service Spring Boot application exposes some management endpoints including loggers, metrics, Prometheus, and so on...
All these endpoints are enabled by Spring Boot Actuator dependency. When this dependency is added in pom.xml
, it will expose counters and statistics, which can then be managed from application.yaml
.
(See Kohn London - Component configuration) for more details on configuration, and the application.yaml
file)
...
Prometheus is time-series database, which stores a sequence of data points, across time. It’s generally used to store metrics and performance data from your applications.
There are numerous predefined Prometheus statistics and counters, however we have added 3 new A1-specific metrics for the the A1 Policy Management Service:
total_ric_count
- Type
Guage
Gauge
: The count of configuredric
s avaialbleavailable/used by the A1 Policy Management Service
- Type
total_policy_type_count
- Type
Guage
Gauge
: The total count of available A1 Policy types
- Type
total_policy_count
- Type
Guage
Gauge
: The total count of available A1 Policy instances
- Type
...