diff options
author | Daniel Hodges <hodges.daniel.scott@gmail.com> | 2019-05-07 07:21:41 -0400 |
---|---|---|
committer | Ben Kochie <superq@gmail.com> | 2019-05-07 13:21:41 +0200 |
commit | 78820098702e41929c84619720e19c89f8b2cdae (patch) | |
tree | 30402068c47002d017dbdcc976cf328940e6588f /README.md | |
parent | 0c6b90be4e018d92e15925994403f351b668f76d (diff) | |
download | prometheus_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.md | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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 | ||
66 | The perf collector may not work by default on all Linux systems due to kernel | ||
67 | configuration and security settings. To allow access, set the following sysctl | ||
68 | parameter: | ||
69 | |||
70 | ``` | ||
71 | sysctl -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 | |||
79 | Depending on the configured value different metrics will be available, for most | ||
80 | cases `0` will provide the most complete set. For more information see [`man 2 | ||
81 | perf_event_open`](http://man7.org/linux/man-pages/man2/perf_event_open.2.html). | ||
82 | |||
66 | Name | Description | OS | 83 | Name | Description | OS |
67 | ---------|-------------|---- | 84 | ---------|-------------|---- |
68 | buddyinfo | Exposes statistics of memory fragments as reported by /proc/buddyinfo. | Linux | 85 | buddyinfo | Exposes statistics of memory fragments as reported by /proc/buddyinfo. | Linux |
@@ -81,6 +98,7 @@ supervisord | Exposes service status from [supervisord](http://supervisord.org/) | |||
81 | systemd | Exposes service and system status from [systemd](http://www.freedesktop.org/wiki/Software/systemd/). | Linux | 98 | systemd | Exposes service and system status from [systemd](http://www.freedesktop.org/wiki/Software/systemd/). | Linux |
82 | 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 | 99 | 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 |
83 | wifi | Exposes WiFi device and station statistics. | Linux | 100 | wifi | Exposes WiFi device and station statistics. | Linux |
101 | perf | Exposes perf based metrics (Warning: Metrics are dependent on kernel configuration and settings). | Linux | ||
84 | 102 | ||
85 | ### Textfile Collector | 103 | ### Textfile Collector |
86 | 104 | ||