Merge ~jacekn/prometheus-charm:snmp into prometheus-charm:master
Proposed by
Jacek Nykis
Status: | Merged |
---|---|
Approved by: | Jamon Camisso |
Approved revision: | 9e29423aaa6888342c279020af5f603b73fc940f |
Merge reported by: | Jamon Camisso |
Merged at revision: | not available |
Proposed branch: | ~jacekn/prometheus-charm:snmp |
Merge into: | prometheus-charm:master |
Diff against target: |
177 lines (+81/-5) 4 files modified
config.yaml (+31/-0) metadata.yaml (+2/-2) reactive/prometheus.py (+39/-0) templates/prometheus.yml.j2 (+9/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jamon Camisso (community) | Approve | ||
Review via email: mp+311624@code.launchpad.net |
Description of the change
Add snmp-exporter relation support
Add scrape-jobs config option to allow arbitrary SNMP jobs to be added. This is needed because SNMP config is non trivial. Targets can belong to one of a few different "modules". For each module or group of targets we likely need different scrape interval and timeout options.
We could try to do it like this:
juju set prometheus snmp_targets=
but this can become unmanageable quickly and would require logic to programmatically split targets into separate scrape jobs.
To post a comment you must log in.
+1