Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricDiff ¶ added in v0.59.0
MetricDiff is intended to support producing human-readable diffs between two MetricData structs during testing. Two MetricDatas, when compared, could produce a list of MetricDiffs containing all of their differences, which could be used to correct the differences between the expected and actual values.
func DiffMetric ¶ added in v0.59.0
func DiffMetric(diffs []*MetricDiff, expected pmetric.Metric, actual pmetric.Metric) []*MetricDiff
func DiffMetrics ¶ added in v0.59.0
func DiffMetrics(diffs []*MetricDiff, expected, actual pmetric.Metrics) []*MetricDiff
func (MetricDiff) String ¶ added in v0.59.0
func (mf MetricDiff) String() string
Click to show internal directories.
Click to hide internal directories.