summaryrefslogtreecommitdiffstats
path: root/collectors/debugfs.plugin/metadata.yaml
blob: d3bf0a0d8dadfeeb1fc67163752202d7096e06fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
plugin_name: debugfs.plugin
modules:
  - meta:
      plugin_name: debugfs.plugin
      module_name: /sys/kernel/debug/extfrag
      monitored_instance:
        name: System Memory Fragmentation
        link: 'https://www.kernel.org/doc/html/next/admin-guide/sysctl/vm.html'
        categories:
          - data-collection.linux-systems.memory-metrics
        icon_filename: 'microchip.svg'
      related_resources:
        integrations:
          list: []
      info_provided_to_referring_integrations:
        description: ''
      keywords:
        - extfrag
        - extfrag_threshold
        - memory fragmentation
      most_popular: false
    overview:
      data_collection:
        metrics_description: 'Collects memory fragmentation statistics from the Linux kernel'
        method_description: 'Parse data from `debugfs` file'
      supported_platforms:
        include:
          - Linux
        exclude: []
      multi_instance: false
      additional_permissions:
        description: >
          This integration requires read access to files under `/sys/kernel/debug/extfrag`, which are accessible
          only to the root user by default. Netdata uses Linux Capabilities to give the plugin access to
          debugfs. `CAP_DAC_READ_SEARCH` is added automatically during installation. This capability allows bypassing
          file read permission checks and directory read and execute permission checks. If file capabilities are not
          usable, then the plugin is instead installed with the SUID bit set in permissions so that it runs as root.
      default_behavior:
        auto_detection:
          description: >
            Assuming that debugfs is mounted and the required permissions are available, this integration will
            automatically run by default.
        limits:
          description: ''
        performance_impact:
          description: ''
    setup:
      prerequisites:
        list:
          - title: 'filesystem'
            description: >
              The debugfs filesystem must be mounted on your host for plugin to collect data.
              You can run the command-line (`sudo mount -t debugfs none /sys/kernel/debug/`) to mount it locally.
              It is also recommended to modify your fstab (5) avoiding necessity to mount the filesystem
              before starting netdata.
      configuration:
        file:
          name: 'netdata.conf'
          section_name: '[plugin:debugfs]'
          description: 'This is netdata main configuration file.'
        options:
          description: ''
          folding:
            title: 'Config options'
            enabled: true
          list:
            - name: update every
              description: Data collection frequency.
              default_value: 1
              required: false
            - name: command options
              description: Additinal parameters for collector
              default_value: ""
              required: false
        examples:
          folding:
            enabled: true
            title: ''
          list: []
    troubleshooting:
      problems:
        list: []
    alerts: []
    metrics:
      folding:
        title: Metrics
        enabled: false
      description: "Monitor the overall memory fragmentation of the system."
      availability: []
      scopes:
        - name: node
          description: "Memory fragmentation statistics for each NUMA node in the system."
          labels:
            - name: numa_node
              description: The NUMA node the metrics are associated with.
          metrics:
            - name: mem.fragmentation_index_dma
              description: Memory fragmentation index for each order
              unit: "index"
              chart_type: line
              dimensions:
                - name: order0
                - name: order1
                - name: order2
                - name: order3
                - name: order4
                - name: order5
                - name: order6
                - name: order7
                - name: order8
                - name: order9
                - name: order10
            - name: mem.fragmentation_index_dma32
              description: Memory fragmentation index for each order
              unit: "index"
              chart_type: line
              dimensions:
                - name: order0
                - name: order1
                - name: order2
                - name: order3
                - name: order4
                - name: order5
                - name: order6
                - name: order7
                - name: order8
                - name: order9
                - name: order10
            - name: mem.fragmentation_index_normal
              description: Memory fragmentation index for each order
              unit: "index"
              chart_type: line
              dimensions:
                - name: order0
                - name: order1
                - name: order2
                - name: order3
                - name: order4
                - name: order5
                - name: order6
                - name: order7
                - name: order8
                - name: order9
                - name: order10
  - meta:
      plugin_name: debugfs.plugin
      module_name: /sys/kernel/debug/zswap
      monitored_instance:
        name: Linux ZSwap
        link: 'https://www.kernel.org/doc/html/latest/admin-guide/mm/zswap.html'
        categories:
          - data-collection.linux-systems.memory-metrics
        icon_filename: 'microchip.svg'
      related_resources:
        integrations:
          list: []
      info_provided_to_referring_integrations:
        description: ''
      keywords:
        - swap
        - zswap
        - frontswap
        - swap cache
      most_popular: false
    overview:
      data_collection:
        metrics_description: >
          Collects zswap performance metrics on Linux systems.
        method_description: 'Parse data from `debugfs file.'
      supported_platforms:
        include:
          - Linux
        exclude: []
      multi_instance: false
      additional_permissions:
        description: >
          This integration requires read access to files under `/sys/kernel/debug/zswap`, which are accessible
          only to the root user by default. Netdata uses Linux Capabilities to give the plugin access to
          debugfs. `CAP_DAC_READ_SEARCH` is added automatically during installation. This capability allows bypassing
          file read permission checks and directory read and execute permission checks. If file capabilities are not
          usable, then the plugin is instead installed with the SUID bit set in permissions so that it runs as root.
      default_behavior:
        auto_detection:
          description: >
            Assuming that debugfs is mounted and the required permissions are available, this integration will
            automatically detect whether or not the system is using zswap.
        limits:
          description: ''
        performance_impact:
          description: ''
    setup:
      prerequisites:
        list:
          - title: 'filesystem'
            description: >
              The debugfs filesystem must be mounted on your host for plugin to collect data.
              You can run the command-line (`sudo mount -t debugfs none /sys/kernel/debug/`) to mount it locally.
              It is also recommended to modify your fstab (5) avoiding necessity to mount the filesystem
              before starting netdata.
      configuration:
        file:
          name: 'netdata.conf'
          section_name: '[plugin:debugfs]'
          description: 'This is netdata main configuration file.'
        options:
          description: ''
          folding:
            title: 'Config options'
            enabled: true
          list:
            - name: update every
              description: Data collection frequency.
              default_value: 1
              required: false
            - name: command options
              description: Additinal parameters for collector
              default_value: ""
              required: false
        examples:
          folding:
            enabled: true
            title: ''
          list: []
    troubleshooting:
      problems:
        list: []
    alerts: []
    metrics:
      folding:
        title: Metrics
        enabled: false
      description: "Monitor the performance statistics of zswap."
      availability: []
      scopes:
        - name: global
          description: "Global zswap performance metrics."
          labels: []
          metrics:
            - name: system.zswap_pool_compression_ratio
              description: Zswap compression ratio
              unit: "ratio"
              chart_type: line
              dimensions:
                - name: compression_ratio
            - name: system.zswap_pool_compressed_size
              description: Zswap compressed bytes currently stored
              unit: "bytes"
              chart_type: area
              dimensions:
                - name: compressed_size
            - name: system.zswap_pool_raw_size
              description: Zswap uncompressed bytes currently stored
              unit: "bytes"
              chart_type: area
              dimensions:
                - name: uncompressed_size
            - name: system.zswap_rejections
              description: Zswap rejections
              unit: "rejections/s"
              chart_type: stacked
              dimensions:
                - name: compress_poor
                - name: kmemcache_fail
                - name: alloc_fail
                - name: reclaim_fail
            - name: system.zswap_pool_limit_hit
              description: Zswap pool limit was reached
              unit: "events/s"
              chart_type: line
              dimensions:
                - name: limit
            - name: system.zswap_written_back_raw_bytes
              description: Zswap uncomressed bytes written back when pool limit was reached
              unit: "bytes/s"
              chart_type: area
              dimensions:
                - name: written_back
            - name: system.zswap_same_filled_raw_size
              description: Zswap same-value filled uncompressed bytes currently stored
              unit: "bytes"
              chart_type: area
              dimensions:
                - name: same_filled
            - name: system.zswap_duplicate_entry
              description: Zswap duplicate store was encountered
              unit: "entries/s"
              chart_type: line
              dimensions:
                - name: duplicate
  - meta:
      plugin_name: debugfs.plugin
      module_name: intel_rapl
      monitored_instance:
        name: Power Capping
        link: 'https://www.kernel.org/doc/html/next/power/powercap/powercap.html'
        categories:
          - data-collection.linux-systems.kernel-metrics
        icon_filename: 'powersupply.svg'
      related_resources:
        integrations:
          list: []
      info_provided_to_referring_integrations:
        description: ''
      keywords:
        - power capping
        - energy
      most_popular: false
    overview:
      data_collection:
        metrics_description: >
          Collects power capping performance metrics on Linux systems.
        method_description: 'Parse data from `debugfs file.'
      supported_platforms:
        include:
          - Linux
        exclude: []
      multi_instance: false
      additional_permissions:
        description: >
          This integration requires read access to files under `/sys/devices/virtual/powercap`, which are accessible
          only to the root user by default. Netdata uses Linux Capabilities to give the plugin access to
          debugfs. `CAP_DAC_READ_SEARCH` is added automatically during installation. This capability allows bypassing
          file read permission checks and directory read and execute permission checks. If file capabilities are not
          usable, then the plugin is instead installed with the SUID bit set in permissions so that it runs as root.
      default_behavior:
        auto_detection:
          description: >
            Assuming that debugfs is mounted and the required permissions are available, this integration will
            automatically detect whether or not the system is using zswap.
        limits:
          description: ''
        performance_impact:
          description: ''
    setup:
      prerequisites:
        list:
          - title: 'filesystem'
            description: >
              The debugfs filesystem must be mounted on your host for plugin to collect data.
              You can run the command-line (`sudo mount -t debugfs none /sys/kernel/debug/`) to mount it locally.
              It is also recommended to modify your fstab (5) avoiding necessity to mount the filesystem
              before starting netdata.
      configuration:
        file:
          name: 'netdata.conf'
          section_name: '[plugin:debugfs]'
          description: 'This is netdata main configuration file.'
        options:
          description: ''
          folding:
            title: 'Config options'
            enabled: true
          list:
            - name: update every
              description: Data collection frequency.
              default_value: 1
              required: false
            - name: command options
              description: Additinal parameters for collector
              default_value: ""
              required: false
        examples:
          folding:
            enabled: true
            title: ''
          list: []
    troubleshooting:
      problems:
        list: []
    alerts: []
    metrics:
      folding:
        title: Metrics
        enabled: false
      description: "Monitor the Intel RAPL zones Consumption."
      availability: []
      scopes:
        - name: global
          description: "Global Intel RAPL zones."
          labels: []
          metrics:
            - name: cpu.powercap_intel_rapl_zone
              description: Intel RAPL Zone Power Consumption
              unit: "Watts"
              chart_type: line
              dimensions:
                - name: Power
            - name: cpu.powercap_intel_rapl_subzones
              description: Intel RAPL Subzones Power Consumption
              unit: "Watts"
              chart_type: line
              dimensions:
                - name: dram
                - name: core
                - name: uncore