...
Code Block | ||||
---|---|---|---|---|
| ||||
...... management: endpoints: web: exposure: # Enabling of springboot actuator features. See springboot documentation. include: "loggers,logfile,health,info,metrics,threaddump,heapdump,prometheus" ...... |
Note: By default Prometheus endpoint is disabled. To enable it add ",prometheus" in the application.yaml of a1pms.
The metrics
actuator makes several metrics available. These metrics include numerous built-in springboot metrics, and several new A1-specific metrics.
In order to access the exposed metrics, you need to form an URL and append metric's name end of the URL like below:
...