mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-09 23:24:09 -08:00
Merge pull request #534 from prometheus/bjk/systemd_scope
Blacklist systemd scope units
This commit is contained in:
commit
1f2099b1ef
|
@ -27,7 +27,7 @@ import (
|
|||
|
||||
var (
|
||||
unitWhitelist = flag.String("collector.systemd.unit-whitelist", ".+", "Regexp of systemd units to whitelist. Units must both match whitelist and not match blacklist to be included.")
|
||||
unitBlacklist = flag.String("collector.systemd.unit-blacklist", "", "Regexp of systemd units to blacklist. Units must both match whitelist and not match blacklist to be included.")
|
||||
unitBlacklist = flag.String("collector.systemd.unit-blacklist", ".+\\.scope", "Regexp of systemd units to blacklist. Units must both match whitelist and not match blacklist to be included.")
|
||||
)
|
||||
|
||||
type systemdCollector struct {
|
||||
|
|
Loading…
Reference in a new issue