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
Click to show internal directories.
Click to hide internal directories.