Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AggregatorSelector ¶
func AggregatorSelector() export.AggregatorSelector
AggregatorSelector returns a policy that is consistent with the test descriptors above. I.e., it returns sum.New() for counter instruments and lastvalue.New() for lastValue instruments.
Types ¶
type Output ¶
Output collects distinct metric/label set outputs.
func (Output) AddAccumulation ¶
func (o Output) AddAccumulation(acc export.Accumulation) error
AddAccumulation adds a string representation of the exported metric data to a map for use in testing. The value taken from the accumulation is either the Sum() or the LastValue() of its Aggregator().Aggregation(), whichever is defined.
Click to show internal directories.
Click to hide internal directories.