Manage Metrics
Runtime Policy
This section configures when to start and how frequently metrics are cacluated. Below the metrics computation will start after 2 minutes on process startup and thereafter every 1 minute.
Example
Attributes
Attribute | Description | Data Type | Required |
---|---|---|---|
frequency | Frequency metrics are computed. Minimum 15 second computation cycles | Long Default: 1 | |
startup delay | First compute cycle delay. | Long Default: 5 | |
time unit | Time unit used to set the scheduled processing policy Supported units: SECONDS, MINUTES, HOURS | TimeUnit Default: MINUTES |
Metric Management Attributes
Each metric defintion includes management attributes to control how the metric table is managed throughout the Joule process lifetime. Since Joule uses an in-memory database the size of table needs to be managed
Attribute | Description | Data Type | Required |
---|---|---|---|
truncate on start | Truncate the mtric tables on startup | Boolean Default: true | |
compaction policy | |||
frequency | Frequency table compactions will occur | long Default: 1 | |
time unit | Time unit used to set the scheduled companion policy Supported units: MINUTES and HOURS | TimeUnit Default: HOURS |
Last updated