summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/modules/intelgpu/metadata.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/collectors/go.d.plugin/modules/intelgpu/metadata.yaml')
-rw-r--r--src/go/collectors/go.d.plugin/modules/intelgpu/metadata.yaml12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/intelgpu/metadata.yaml b/src/go/collectors/go.d.plugin/modules/intelgpu/metadata.yaml
index 8a40215bb6..b8ca763753 100644
--- a/src/go/collectors/go.d.plugin/modules/intelgpu/metadata.yaml
+++ b/src/go/collectors/go.d.plugin/modules/intelgpu/metadata.yaml
@@ -44,6 +44,14 @@ modules:
list:
- title: Install intel-gpu-tools
description: Install `intel-gpu-tools` using your distribution's package manager.
+ - title: Add CAP_PERFMON to `intel_gpu_top`
+ description: |
+ When running as a normal user CAP_PERFMON is required to access performance monitoring.
+ See [capabilities(7)](https://man7.org/linux/man-pages/man7/capabilities.7.html) and [setcap(8)](https://man7.org/linux/man-pages/man8/setcap.8.html).
+
+ ```bash
+ sudo setcap cap_perfmon=eip /usr/bin/intel_gpu_top
+ ```
configuration:
file:
name: go.d/intelgpu.conf
@@ -59,9 +67,9 @@ modules:
default_value: 1
required: false
- name: binary_path
- description: Path to the intel_gpu_top binary. If an absolute path is provided, the collector will use it directly; otherwise, it will search for the binary in directories specified in the PATH environment variable.
+ description: Path to the `intel_gpu_top` binary. If an absolute path is provided, the collector will use it directly; otherwise, it will search for the binary in directories specified in the PATH environment variable.
default_value: /usr/bin/intel_gpu_top
- required: false
+ required: true
examples:
folding:
title: Config