opentsdb

package
v4.0.0-beta2+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2016 License: Apache-2.0 Imports: 14 Imported by: 132

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HttpClient *http.Client
)

Functions

func NewOpenTsdbExecutor

func NewOpenTsdbExecutor(dsInfo *tsdb.DataSourceInfo) tsdb.Executor

Types

type OpenTsdbExecutor

type OpenTsdbExecutor struct {
	*tsdb.DataSourceInfo
}

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