summaryrefslogtreecommitdiffstats
path: root/collectors/profile.plugin/README.md
blob: 1f200fc31f06a877054cce503b4e8c9f6b9defd2 (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
# profile.plugin

This plugin allows someone to backfill an agent with random data.

A user can specify:

 - The number charts they want,
 - the number of dimensions per chart,
 - the desire update every collection frequency,
 - the number of seconds to backfill.
 - the number of collection threads.

## Configuration

Edit the `netdata.conf` configuration file using [`edit-config`](https://github.com/netdata/netdata/blob/master/docs/configure/nodes.md#use-edit-config-to-edit-configuration-files) from the [Netdata config directory](https://github.com/netdata/netdata/blob/master/docs/configure/nodes.md#the-netdata-config-directory), which is typically at `/etc/netdata`.

Scroll down to the `[plugin:profile]` section to find the available options:

```
[plugin:profile]
  update every = 5
  number of charts = 200
  number of dimensions per chart = 5
  seconds to backfill = 86400
  number of threads = 16
```

The `number of threads` option will create the specified number of collection
threads. The rest of the options apply to each thread individually, eg. the
above configuration will create 3200 charts, 16000 dimensions in total, which will be
backfilled for the duration of 1 day.

Note that all but the 1st chart created in each thread will be marked as hidden
in order to ease the load on the dashboard's UI.