mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-26 22:19:44 -08:00
Disable lnstat collector by default (#2188)
The new `lnstat` collector produces a high number of metrics, per-cpu, and results in approximately double the number of metrics previously scraped. For example, a typical server with 64 cores produces 3832 lnstat metrics compared to 4147 metrics for the remaining collectors. Therefore disable the `lnstat` collector by default. Signed-off-by: Benjamin Drung <benjamin.drung@ionos.com>
This commit is contained in:
parent
1f37b3553f
commit
f5ae31a84c
|
@ -106,7 +106,6 @@ filesystem | Exposes filesystem statistics, such as disk space used. | Darwin, D
|
|||
hwmon | Expose hardware monitoring and sensor data from `/sys/class/hwmon/`. | Linux
|
||||
infiniband | Exposes network statistics specific to InfiniBand and Intel OmniPath configurations. | Linux
|
||||
ipvs | Exposes IPVS status from `/proc/net/ip_vs` and stats from `/proc/net/ip_vs_stats`. | Linux
|
||||
lnstat | Exposes stats from `/proc/net/stat/`. | Linux
|
||||
loadavg | Exposes load average. | Darwin, Dragonfly, FreeBSD, Linux, NetBSD, OpenBSD, Solaris
|
||||
mdadm | Exposes statistics about devices in `/proc/mdstat` (does nothing if no `/proc/mdstat` present). | Linux
|
||||
meminfo | Exposes memory statistics. | Darwin, Dragonfly, FreeBSD, Linux, OpenBSD
|
||||
|
@ -199,6 +198,7 @@ drbd | Exposes Distributed Replicated Block Device statistics (to version 8.4) |
|
|||
ethtool | Exposes network interface information and network driver statistics equivalent to `ethtool`, `ethtool -S`, and `ethtool -i`. | Linux
|
||||
interrupts | Exposes detailed interrupts statistics. | Linux, OpenBSD
|
||||
ksmd | Exposes kernel and system statistics from `/sys/kernel/mm/ksm`. | Linux
|
||||
lnstat | Exposes stats from `/proc/net/stat/`. | Linux
|
||||
logind | Exposes session counts from [logind](http://www.freedesktop.org/wiki/Software/systemd/logind/). | Linux
|
||||
meminfo\_numa | Exposes memory statistics from `/proc/meminfo_numa`. | Linux
|
||||
mountstats | Exposes filesystem statistics from `/proc/self/mountstats`. Exposes detailed NFS client statistics. | Linux
|
||||
|
|
|
@ -30,7 +30,7 @@ type lnstatCollector struct {
|
|||
}
|
||||
|
||||
func init() {
|
||||
registerCollector("lnstat", defaultEnabled, NewLnstatCollector)
|
||||
registerCollector("lnstat", defaultDisabled, NewLnstatCollector)
|
||||
}
|
||||
|
||||
func NewLnstatCollector(logger log.Logger) (Collector, error) {
|
||||
|
|
Loading…
Reference in a new issue