A1 PMS Spring Boot application exposes some management endpoints including loggers, metrics, Prometheus, and so on...
All these params parameters are provided in the application.yaml file.
Code Block | ||||
---|---|---|---|---|
| ||||
management: endpoints: web: exposure: # Enabling of springboot actuator features. See springboot documentation. include: "loggers,logfile,health,info,metrics,threaddump,heapdump,prometheus" |
...
http://localhost:8081/actuator/health or http://localhost:8081/actuator/prometheus
There are plenty of statistics and counters, however "total_ric_count", "total_policy_type_count", and "total_policy_count"
are directly related to A1-PMS business logic. For example, while total_ric_count shows total available RIC count, total_policy_type_count
reveals total created policy type.
On the other hand, if you want to visualize these in Prometheus GUI,
you can bind the below 'prometheus.yml' file while starting the Prometheus container.
...