cloudmonitoring

package
v0.0.0-...-34a2968 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCloudMonitoringExecutor

func NewCloudMonitoringExecutor(dsInfo *models.DataSource) (tsdb.TsdbQueryEndpoint, error)

NewCloudMonitoringExecutor initializes a http client

Types

type CloudMonitoringExecutor

type CloudMonitoringExecutor struct {
	// contains filtered or unexported fields
}

CloudMonitoringExecutor executes queries for the CloudMonitoring datasource

func (*CloudMonitoringExecutor) Query

func (e *CloudMonitoringExecutor) Query(ctx context.Context, dsInfo *models.DataSource, tsdbQuery *tsdb.TsdbQuery) (*tsdb.Response, error)

Query takes in the frontend queries, parses them into the CloudMonitoring query format executes the queries against the CloudMonitoring API and parses the response into the time series or table format

Jump to

Keyboard shortcuts

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