package
19.2.12+incompatible
Repository: https://github.com/alsohas/cockroach.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
RegisterTimeSeriesHandler registers the http handlers for service TimeSeries to "mux".
RegisterTimeSeriesHandlerClient registers the http handlers for service TimeSeries to "mux".
RegisterTimeSeriesHandlerFromEndpoint is same as RegisterTimeSeriesHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
No description provided by the author
VerifySlabAndSampleDuration verifies that he supplied slab resolution is compatible with the supplied sample resolution, returning an error if they are not compatible.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
AVG returns the average value of datapoints.
FIRST returns the value of the first datapoint in the set being aggregated.
LAST returns the value of the last datapoint in the set being aggregated.
MAX returns the maximum value of datapoints.
MIN returns the minimum value of datapoints.
SUM returns the sum value of datapoints.
VARIANCE returns the variance (σ^2) of the datapoints.
DERIVATIVE returns the first-order derivative of values in the time series.
NON_NEGATIVE_DERIVATIVE returns only non-negative values of the first-order derivative; negative values are returned as zero.
NONE is the default value, and does not apply a derivative function.

# Variables

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

# Structs

No description provided by the author
Each Query defines a specific metric to query over the time span of this request.
TimeSeriesData is a set of measurements of a single named variable at multiple points in time.
TimeSeriesDatapoint is a single point of time series data; a value associated with a timestamp.
TimeSeriesQueryRequest is the standard incoming time series query request accepted from cockroach clients.
TimeSeriesQueryResponse is the standard response for time series queries returned to cockroach clients.
Result is the data returned from a single metric query over a time span.

# Interfaces

No description provided by the author
No description provided by the author
TimeSeriesClient is the client API for TimeSeries service.
TimeSeriesServer is the server API for TimeSeries service.

# Type aliases

TimeSeriesQueryAggregator describes a set of aggregation functions which can be used to combine multiple datapoints into a single datapoint.
TimeSeriesQueryDerivative describes a derivative function used to convert returned datapoints into a rate-of-change.