MetricEngine error : Invalid c3 type: metadata.Pair is NOT a timeseries.DecimalArry, at ByteStream at offset


If the title error message is received from the Metric Engine while evaluating a metric, the root cause is likely a mal-configured NormalizedTimeseries. You can check out the NormalizedTimeseries object using NormalizedTimeseriesPersister.getId() to return the NormalizedTimeseries object from the ‘raw’ timeseries.
This allows you to investigate the NormalizedTimeseries.

In most cases, running the normalize() method on the TimeSeriesHeader Type will resolve this issue.