aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDaniel Hodges <hodges.daniel.scott@gmail.com>2019-05-07 07:21:41 -0400
committerBen Kochie <superq@gmail.com>2019-05-07 13:21:41 +0200
commit78820098702e41929c84619720e19c89f8b2cdae (patch)
tree30402068c47002d017dbdcc976cf328940e6588f /README.md
parent0c6b90be4e018d92e15925994403f351b668f76d (diff)
downloadprometheus_node_collector-78820098702e41929c84619720e19c89f8b2cdae.tar.bz2
prometheus_node_collector-78820098702e41929c84619720e19c89f8b2cdae.tar.xz
prometheus_node_collector-78820098702e41929c84619720e19c89f8b2cdae.zip
Add perf exporter (#1274)
Signed-off-by: Daniel Hodges <hodges.daniel.scott@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index 521c818..b73c8af 100644
--- a/README.md
+++ b/README.md
@@ -63,6 +63,23 @@ zfs | Exposes [ZFS](http://open-zfs.org/) performance statistics. | [Linux](http
63 63
64### Disabled by default 64### Disabled by default
65 65
66The perf collector may not work by default on all Linux systems due to kernel
67configuration and security settings. To allow access, set the following sysctl
68parameter:
69
70```
71sysctl -w kernel.perf_event_paranoid=X
72```
73
74- 2 allow only user-space measurements (default since Linux 4.6).
75- 1 allow both kernel and user measurements (default before Linux 4.6).
76- 0 allow access to CPU-specific data but not raw tracepoint samples.
77- -1 no restrictions.
78
79Depending on the configured value different metrics will be available, for most
80cases `0` will provide the most complete set. For more information see [`man 2
81perf_event_open`](http://man7.org/linux/man-pages/man2/perf_event_open.2.html).
82
66Name | Description | OS 83Name | Description | OS
67---------|-------------|---- 84---------|-------------|----
68buddyinfo | Exposes statistics of memory fragments as reported by /proc/buddyinfo. | Linux 85buddyinfo | Exposes statistics of memory fragments as reported by /proc/buddyinfo. | Linux
@@ -81,6 +98,7 @@ supervisord | Exposes service status from [supervisord](http://supervisord.org/)
81systemd | Exposes service and system status from [systemd](http://www.freedesktop.org/wiki/Software/systemd/). | Linux 98systemd | Exposes service and system status from [systemd](http://www.freedesktop.org/wiki/Software/systemd/). | Linux
82tcpstat | 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 99tcpstat | 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
83wifi | Exposes WiFi device and station statistics. | Linux 100wifi | Exposes WiFi device and station statistics. | Linux
101perf | Exposes perf based metrics (Warning: Metrics are dependent on kernel configuration and settings). | Linux
84 102
85### Textfile Collector 103### Textfile Collector
86 104