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

truncate on start: true
compaction policy:
  frequency: 8
  time unit: HOURS

Attributes

AttributeDescriptionData TypeRequired

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

AttributeDescriptionData TypeRequired

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