opentsdb

package
v4.3.0-beta1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2017 License: Apache-2.0 Imports: 15 Imported by: 132

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOpenTsdbExecutor

func NewOpenTsdbExecutor(datasource *models.DataSource) (tsdb.Executor, error)

Types

type OpenTsdbExecutor

type OpenTsdbExecutor struct {
	*models.DataSource
	// contains filtered or unexported fields
}

func (*OpenTsdbExecutor) Execute

func (e *OpenTsdbExecutor) Execute(ctx context.Context, queries tsdb.QuerySlice, queryContext *tsdb.QueryContext) *tsdb.BatchResult

type OpenTsdbQuery

type OpenTsdbQuery struct {
	Start   int64                    `json:"start"`
	End     int64                    `json:"end"`
	Queries []map[string]interface{} `json:"queries"`
}

type OpenTsdbResponse

type OpenTsdbResponse struct {
	Metric     string             `json:"metric"`
	DataPoints map[string]float64 `json:"dps"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL