Skip to content

Commit e78ca07

Browse files
SuperQoblitorum
authored andcommitted
Deprecate supervisord collector
Mark the `supervisord` as deprecated. This process supevisor, like `runit`, is of scope for the node_exporter. Signed-off-by: Ben Kochie <[email protected]>
1 parent 16210b1 commit e78ca07

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ perf | Exposes perf based metrics (Warning: Metrics are dependent on kernel conf
199199
processes | Exposes aggregate process statistics from `/proc`. | Linux
200200
qdisc | Exposes [queuing discipline](https://en.wikipedia.org/wiki/Network_scheduler#Linux_kernel) statistics | Linux
201201
slabinfo | Exposes slab statistics from `/proc/slabinfo`. Note that permission of `/proc/slabinfo` is usually 0400, so set it appropriately. | Linux
202-
supervisord | Exposes service status from [supervisord](http://supervisord.org/). | _any_
203202
sysctl | Expose sysctl values from `/proc/sys`. Use `--collector.sysctl.include(-info)` to configure. | Linux
204203
systemd | Exposes service and system status from [systemd](http://www.freedesktop.org/wiki/Software/systemd/). | Linux
205204
tcpstat | Exposes TCP connection status information from `/proc/net/tcp` and `/proc/net/tcp6`. (Warning: the current version has potential performance issues in high load situations.) | Linux
@@ -214,6 +213,7 @@ Name | Description | OS
214213
---------|-------------|----
215214
ntp | Exposes local NTP daemon health to check [time](./docs/TIME.md) | _any_
216215
runit | Exposes service status from [runit](http://smarden.org/runit/). | _any_
216+
supervisord | Exposes service status from [supervisord](http://supervisord.org/). | _any_
217217

218218
### Perf Collector
219219

collector/supervisord.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ func NewSupervisordCollector(logger log.Logger) (Collector, error) {
6969
xrpc = xmlrpc.NewClient(*supervisordURL)
7070
}
7171

72+
level.Warn(logger).Log("msg", "This collector is deprecated and will be removed in the next major version release.")
73+
7274
return &supervisordCollector{
7375
upDesc: prometheus.NewDesc(
7476
prometheus.BuildFQName(namespace, subsystem, "up"),

0 commit comments

Comments
 (0)