Skip to content

Commit

Permalink
site/plugins.md: clarify the difference between latest and metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
alban committed Apr 4, 2017
1 parent 39d52c0 commit 68d9dcb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions site/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -463,9 +463,9 @@ The ID of nodes representing hosts or containers has the format `ID;<type>`, wit
A node contains all the information about the represented object (e.g. host, container, pod, etc.).
In particular, a node may contain:

- `latest` - an id-value map containing the latest values. As opposed to the values in metrics, these values will not normally change.
- `latest` - an id-value map containing the latest values. Each id has only one value.
- `latestControls` - the latest available controls.
- `metrics` - the collection of metrics to display in the UI.
- `metrics` - the collection of metrics to display in the UI. Each metric has multiple timestamped values.

### Controls
Controls describe interfaces that expose actions that the user can perform on different objects (e.g. host, container, etc.).
Expand Down Expand Up @@ -592,6 +592,10 @@ The following is an example of a report with a metric preceded by its metric tem
{
"date": "2016-11-17T08:53:03.171424664Z",
"value": 98.24
},
{
"date": "2016-11-17T08:53:04.171789887Z",
"value": 80.11
}
],
"min": 0,
Expand Down

0 comments on commit 68d9dcb

Please sign in to comment.