An Aggregation describes how data collected is aggregated. There are four aggregation types: count, sum, lastValue and distirbution.
Describes the view, e.g. "RPC latency distribution"
The end time for this view - represents the last time a value was recorded
The Measure to which this view is applied.
A string by which the View will be referred to, e.g. "rpc_latency". Names MUST be unique within the library.
true if the view was registered
The start time for this view
Gets the view's tag keys
Gets view`s metric
Returns a snapshot of an AggregationData for that tags/labels values.
The desired data's tag values.
Records a measurement in the proper view's row. This method is used by Stats. User should prefer using Stats.record() instead.
Measurements with measurement type INT64 will have its value truncated.
The measurement to record
The tags to which the value is applied
optional The contextual information associated with an example value. THe contextual information is represented as key - value string pairs.
Generated using TypeDoc
Defines how individual measurements are broken down by tags and aggregated.