From 3fb13e885b8e6ba7be22e129a1e1dd3b5aa2be4f Mon Sep 17 00:00:00 2001 From: Michael Schubert Date: Tue, 18 Apr 2017 09:33:09 +0200 Subject: [PATCH] site/plugins.md: fix identifier typo --- site/plugins.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/site/plugins.md b/site/plugins.md index 61958ea03..cfe73719b 100644 --- a/site/plugins.md +++ b/site/plugins.md @@ -532,18 +532,18 @@ This description is used to extract metadata from a node and display it on Scope ```json "metadata_templates": { - "metadata-template-id": { - "id": "metadata-template-id", + "traffic-control-pktloss": { + "id": "traffic-control-pktloss", "label": "Human-readable description", "dataType": "number", "priority": 13.5, "from": "latest" }, - "another-metadata-template-id": {...} + "another-plugins-id": {...} } ``` -- `metadata-template-identifier` and `id` identify a particular metadata template. +- `id` is a string identifying the particular metadata template (here `traffic-control-pktloss`) and is also used as a key to the template value. - `label` contains the label that will be used by Scope UI. - `dataType` specifies the type of data, this will determine how the value is displayed. Possible values for this attribute are: "number", "ip", "datetime" and "" for strings. - `priority` is a floating point value used to decide the display ordering (lower values are displayed before higher ones). If omitted, the UI will display it last.