jmx_exporter is packaged as Debian (by us) prometheus-jmx-exporter, we should switch current users of jmx_exporter deployed via scap (only cassandra-restbase afaik) to use the Debian package instead.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | fgiunchedi | T177195 Reduce technical debt in metrics monitoring | |||
Open | None | T177197 Export Prometheus-compatible JVM metrics from JVMs in production | |||
Resolved | elukey | T181728 Stop using jmx_exporter deployed via scap in favour of Debian package |
Event Timeline
Change 402069 had a related patch set uploaded (by Filippo Giunchedi; owner: Filippo Giunchedi):
[operations/puppet@production] cassandra: use prometheus-jmx-exporter Debian package
Change 402070 had a related patch set uploaded (by Filippo Giunchedi; owner: Filippo Giunchedi):
[operations/puppet@production] cassandra: switch to using jmx-exporter jar from Debian package
Change 402069 merged by Elukey:
[operations/puppet@production] cassandra: use prometheus-jmx-exporter Debian package
Change 415013 had a related patch set uploaded (by Elukey; owner: Elukey):
[operations/puppet@production] cassandra: flip jmx exporter's jar reference
Change 415013 merged by Elukey:
[operations/puppet@production] cassandra: flip jmx exporter's jar reference
Restbase and AQS' instances will pick up the new jar as part of the next round of reboots. I'd close this task and re-open if necessary.
So lsof -X / | grep jmx_prometheus on restbase* shows only
java 17424 cassandra mem REG 9,0 356079 1015 /usr/share/java/prometheus/jmx_prometheus_javaagent-0.10.jar java 17424 cassandra 65r REG 9,0 356079 1015 /usr/share/java/prometheus/jmx_prometheus_javaagent-0.10.jar java 19509 cassandra mem REG 9,0 356079 1015 /usr/share/java/prometheus/jmx_prometheus_javaagent-0.10.jar java 19509 cassandra 65r REG 9,0 356079 1015 /usr/share/java/prometheus/jmx_prometheus_javaagent-0.10.jar
So I think that it should be safe to clear /srv/deployment/prometheus and close the task..
Mentioned in SAL (#wikimedia-operations) [2018-04-04T12:02:37Z] <elukey> removing /srv/deployment/prometheus from restbase2001/1007 - T181728
After removing /srv/deployment/prometheus I don't see any trace of the jmx exporter jar contained in the dir in lsof -Xd DEL on rdb2001/1007.
Mentioned in SAL (#wikimedia-operations) [2018-04-04T15:06:22Z] <elukey> delete /srv/deployment/prometheus from restbase* as clean up step for T181728
Change 402070 abandoned by Filippo Giunchedi:
cassandra: switch to using jmx-exporter jar from Debian package
Reason:
Not needed anymore, happened already
Mentioned in SAL (#wikimedia-releng) [2020-08-11T08:09:40Z] <hashar> Gerrit: marked operations/software/prometheus_jmx_exporter read-only/archive since we now use a Debian package. T181728