Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.08 KB

lifecycle.md

File metadata and controls

36 lines (24 loc) · 1.08 KB

Entity Lifecycle

An entity is stored during eight days after it has stopped reporting. You can configure this value for each entity type in the definition.yml file, in the configuration section.

domain: EXT
type: PIHOLE

configuration:
  entityExpirationTime: EIGHT_DAYS

Other valid values are FOUR_HOURS, DAILY, QUARTERLY, and MANUAL.

  • MANUAL is only allowed for entity types that don't have a synthesis section. These entities are created only via direct action of a user, such as DASHBOARDS or WORKLOADS.
  • FOUR_HOURS is only allowed for entities that have a very short life span, such as CONTAINERS.

Alertable

Another option is to attach alerts to an entity. An entity is alertable by default.

domain: EXT
type: PIHOLE

configuration:
  alertable: false

If alertable is set to true, the entity's metadata includes the field alertSeverity, which is updated when the telemetry associated to this entity breaks an alerting condition.