summaryrefslogtreecommitdiffstats
path: root/collectors
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2022-04-25 09:46:26 +0200
committerGitHub <noreply@github.com>2022-04-25 09:46:26 +0200
commit6f4a19b09b578550054ef629ad878b9c689eae7b (patch)
treeb1dc744ebe42978aa483607934327ace4911a49b /collectors
parente97a92a1ef3429a926210d48b0aa005fc8e529ae (diff)
Mention serial numbers in chart names in the plugins.d API documentation (#12733)
Diffstat (limited to 'collectors')
-rw-r--r--collectors/plugins.d/README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/collectors/plugins.d/README.md b/collectors/plugins.d/README.md
index ac838d21da..e960e82b1f 100644
--- a/collectors/plugins.d/README.md
+++ b/collectors/plugins.d/README.md
@@ -187,7 +187,10 @@ the template is:
- `name`
- is the name that will be presented to the user instead of `id` in `type.id`. This means that only the `id` part of `type.id` is changed. When a name has been given, the chart is index (and can be referred) as both `type.id` and `type.name`. You can set name to `''`, or `null`, or `(null)` to disable it.
+ is the name that will be presented to the user instead of `id` in `type.id`. This means that only the `id` part of
+ `type.id` is changed. When a name has been given, the chart is indexed (and can be referred) as both `type.id` and
+ `type.name`. You can set name to `''`, or `null`, or `(null)` to disable it. If a chart with the same name already
+ exists, a serial number is automatically attached to the name to avoid naming collisions.
- `title`