Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. How to find the timeseries data on the Type
  2. Configuration of the Normalization engine


CompoundMetrics

Compound metrics are generally easier to define and use as they operate on already defined metrics either Simple or Compound.
They essentially just consist of and id/name, and an expression defining the metric in terms of constants and already defined metrics.

Evaluating Metrics

Not all SimpleMetrics are defined on all types. Types on which you can evaluate a metric mixin the Type 'MetricEvaluatable' (C3 Docs here: https://developer.c3.ai/docs/7.12.0/type/MetricEvaluatable)
This bestows the function 'listMetrics' to that type, so if you're unsure what kind of metrics are available for a given type, execute that function to get a list, for example:

...