# Functions
No description provided by the author
CompareExemplar compares each part of two given pmetric.Exemplar and returns an error if they don't match.
CompareExponentialHistogramDataPoint compares each part of two given ExponentialHistogramDataPoints and returns an error if they don't match.
CompareHistogramDataPoints compares each part of two given HistogramDataPoints and returns an error if they don't match.
No description provided by the author
No description provided by the author
CompareNumberDataPoint compares each part of two given NumberDataPoints and returns an error if they don't match.
No description provided by the author
CompareScopeMetrics compares each part of two given ScopeMetrics and returns an error if they don't match.
CompareSummaryDataPoint compares each part of two given SummaryDataPoint and returns an error if they don't match.
IgnoreDatapointAttributesOrder is a CompareMetricsOption that ignores the order of datapoint attributes.
IgnoreMetricAttributeValue is a CompareMetricsOption that clears value of the metric attribute.
IgnoreMetricDataPointsOrder is a CompareMetricsOption that ignores the order of metrics.
IgnoreMetricFloatPrecision is a CompareMetricsOption that rounds away float precision discrepancies in metric values.
IgnoreMetricsOrder is a CompareMetricsOption that ignores the order of metrics.
IgnoreMetricValues is a CompareMetricsOption that clears all metric values.
IgnoreResourceAttributeValue is a CompareMetricsOption that removes a resource attribute from all resources.
IgnoreResourceMetricsOrder is a CompareMetricsOption that ignores the order of resource traces/metrics/logs.
IgnoreScopeMetricsOrder is a CompareMetricsOption that ignores the order of instrumentation scope traces/metrics/logs.
No description provided by the author
IgnoreStartTimestamp is a CompareMetricsOption that clears StartTimestamp fields on all the data points.
IgnoreSubsequentDataPoints is a CompareMetricsOption that ignores data points after the first.
IgnoreSummaryDataPointValueAtQuantileSliceOrder is a CompareMetricsOption that ignores the order of summary data point quantile slice.
IgnoreTimestamp is a CompareMetricsOption that clears Timestamp fields on all the data points.
MatchMetricAttributeValue is a CompareMetricsOption that transforms a metric attribute value based on a regular expression.
MatchResourceAttributeValue is a CompareMetricsOption that transforms a resource attribute value based on a regular expression.
# Interfaces
CompareMetricsOption can be used to mutate expected and/or actual metrics before comparing.