prometheus node exporter #3

Supports: xenial bionic
Add to new model

Description

This layer provides the prometheus "node_exporter"


prometheus-node-exporter

Reactive subordinate charm providing prometheus-node-exporter.

Usage

This charm relates to the prometheus charm on the scrape interface, and provides a metrics endpoint for prometheus to scrape on port 9100 by default.

A simple workflow to describe the usage of this charm is as follows:

juju deploy prometheus

juju deploy ubuntu

juju deploy prometheus-node-exporter

juju add-relation prometheus-node-exporter ubuntu

juju add-relation prometheus-node-exporter:scrape prometheus:scrape

Configuration

Charm allows setting host and port to on which prometheus node exporter will listen. Host can be set also to "public" or "private" for charm to set according to unit.

Collectors which are disabled by default can be separately enabled in config (e.g. ntp, systemd, or nfs).

Copyright

License

  • AGPLv3 - see LICENSE

Configuration

bonding-collector
(boolean) Enable bonding collector.
buddyinfo-collector
(boolean) Enable buddyinfo collector.
debug
(boolean) Debug log level.
drbd-collector
(boolean) Enable drbd collector.
gmond-collector
(boolean) Enable gmond collector.
host
(string) IP to run metrics target on or set to "public" or "private" for juju to set IP
0.0.0.0
interrupts-collector
(boolean) Enable interrupts collector.
ksmt-collector
(boolean) Enable ksmt collector.
logind-collector
(boolean) Enable logind collector.
megacli-collector
(boolean) Enable megacli collector.
mountstats-collector
(boolean) Enable mountstats collector.
nfs-collector
(boolean) Enable NFS collector.
ntp-collector
(boolean) Enable NTP collector.
port
(int) Port to run metrics target on
9100
qdisc-collector
(boolean) Enable qdisc collector.
runit-collector
(boolean) Enable runit collector.
supervisord-collector
(boolean) Enable supervisord collector.
systemd-collector
(boolean) Enable systemd collector.
tcpstat-collector
(boolean) Enable tcpstat collector.