Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // QueryLatest metrics. QueryLatest(ctx context.Context, query *metric.Query) ([]*metric.Sample, error) // Query historical metrics with arbitrary range and step. Query(ctx context.Context, query *metric.Query, start, end time.Time, step time.Duration) ([]*metric.Series, error) }
Interface provide methods to query metrics.
Click to show internal directories.
Click to hide internal directories.