V2/Concepts/Intro to Computed Measurement

From Senfi Docs
Revision as of 16:55, 24 June 2021 by Huiyan (talk | contribs) (Created page with "<h1 class="main-heading">Computed Measurement</h1> Frequently, incoming metrics represent raw values that are read from the sensing device (eg. door open status, door closed...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Computed Measurement

Frequently, incoming metrics represent raw values that are read from the sensing device (eg. door open status, door closed status). To be able to derive better insights and to formulate more complex rules, it is useful to be able to calculate new metrics that are derived from the raw metrics. We refer to these metrics as derived metrics. The set of derived metrics and associated tags form the computed measurement.

Similar to measurement, a computed measurement comprises of:

  • timestamp
  • tags
  • metrics (derived)

Following from the above example, a computed measurement could compute the duration that a door remains opened by taking the timestamp between a door open and door closed metric.