WORKERS AHEAD!
You are viewing the development documentation for the Apereo CAS server. The functionality presented here is not officially released yet. This is a work in progress and will be continually updated as development moves forward. You are most encouraged to test the changes presented.
Prometheus Storage - CAS Metrics
Prometheus expects to scrape or poll individual app instances for metrics. Spring Boot provides an actuator endpoint
available at /actuator/prometheus
to present a Prometheus scrape with the appropriate format.
Here is an example scrape_config
to add to prometheus.yml
:
1
2
3
4
5
scrape_configs:
- job_name: 'spring'
metrics_path: '/actuator/prometheus'
static_configs:
- targets: ['HOST:PORT']