Page MenuHomePhabricator

Collects metrics for CAS
Closed, ResolvedPublic

Description

There's a number of available metrics (CAS can be configured to emit metrics in Prometheus format) which we should collect in Prometheus setup.

https://apereo.github.io/cas/development/monitoring/Configuring-Metrics.html
management.metrics.export.prometheus.enabled=true in cas.properties

Maybe we also need additional, site-specific ones which we could add via mtail.

Details

Related Gerrit Patches:

Event Timeline

herron triaged this task as Medium priority.Sep 26 2019, 5:18 PM

Change 551209 had a related patch set uploaded (by Jbond; owner: John Bond):
[operations/software/cas-overlay-template@master] promethus: add the metrics overlay to provide prometheus support

https://gerrit.wikimedia.org/r/551209

Change 551212 had a related patch set uploaded (by Jbond; owner: John Bond):
[operations/puppet@production] apereo_cas: add prometheus actuator

https://gerrit.wikimedia.org/r/551212

Change 551209 merged by Jbond:
[operations/software/cas-overlay-template@master] promethus: add the metrics overlay to provide prometheus support

https://gerrit.wikimedia.org/r/551209

Change 551212 merged by Jbond:
[operations/puppet@production] apereo_cas: add prometheus actuator

https://gerrit.wikimedia.org/r/551212

Change 553743 had a related patch set uploaded (by Jbond; owner: John Bond):
[operations/puppet@production] profile::prometheus::ops: add scraper for apero_cas idp service

https://gerrit.wikimedia.org/r/553743

Change 553750 had a related patch set uploaded (by Jbond; owner: John Bond):
[operations/puppet@production] apereo_cas: add localhost to list of allowed prometheus scrappers

https://gerrit.wikimedia.org/r/553750

Change 553750 merged by Jbond:
[operations/puppet@production] apereo_cas: add localhost to list of allowed prometheus scrappers

https://gerrit.wikimedia.org/r/553750

Change 553743 merged by Jbond:
[operations/puppet@production] profile::prometheus::ops: add scraper for apero_cas idp service

https://gerrit.wikimedia.org/r/553743

Change 554045 had a related patch set uploaded (by Jbond; owner: John Bond):
[operations/puppet@production] profile::prometheus::ops: add tls cname

https://gerrit.wikimedia.org/r/554045

Change 554045 merged by Jbond:
[operations/puppet@production] profile::prometheus::ops: add tls server name

https://gerrit.wikimedia.org/r/554045

While talking metrics and such for java, please consider also adding jmx_exporter (in addition to the native metrics) to CAS' jvm as we are doing for other JVMs across the fleet in T177197: Export Prometheus-compatible JVM metrics from JVMs in production

jbond added a comment.Dec 2 2019, 3:13 PM

Added New Grafana dashboard

While talking metrics and such for java, please consider also adding jmx_exporter (in addition to the native metrics) to CAS' jvm as we are doing for other JVMs across the fleet in T177197: Export Prometheus-compatible JVM metrics from JVMs in production

ill take a look, thanks fort the pointer

Change 554097 had a related patch set uploaded (by Jbond; owner: John Bond):
[operations/puppet@production] profile::idp: add jmx prometheus exporter

https://gerrit.wikimedia.org/r/554097

Change 554097 merged by Jbond:
[operations/puppet@production] profile::idp: add jmx prometheus exporter

https://gerrit.wikimedia.org/r/554097