# Functions

Compare the [sdk.ResourceMetrics] against the [Spec].
Flatten turns the nested [sdk.ResourceMetrics] structure into a flat [sdk.Metrics] slice.
IgnoreTime ignores [sdk.Metrics.Unit] and [sdk.Metrics.Description], because those are usually static.
IgnoreTime ignores [sdk.DataPoint.Time] and [sdk.DataPoint.StartTime], because those are changing per run and typically not of interest.
IgnoreUnspec ignores any Metrics not present in the [Spec].
Metrics returns the [sdk.Metrics] defined by this [Spec].
Sort [sdk.Metrics] by name and [sdk.DataPoint] by their [attribute.Set].
Test the metrics returned by [metric.ManualReader.Collect] against the [Spec].
Transform turns []sdk.DataPoint[N] into []DataPoint[N].
Unmarshal specification in [Format] into the given [Spec].

# Constants

No description provided by the author
No description provided by the author

# Structs

DataPoint holds a [sdk.DataPoints] and its attributes as a plain map.
No description provided by the author
No description provided by the author

# Type aliases

Format defines the yaml-based format to be used with [Unmarshal] for specifying [Spec].
No description provided by the author
Spec is the partial metric specification.
No description provided by the author