Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languageyml
titleSnippet from application.yaml
......
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:

...