Documentation ¶
Index ¶
Constants ¶
View Source
const ( TimeSeriesMetric = "timeseries" CurrentValueMetric = "currentvalue" DurationCountMetric = "durationcount" DiscreteSensorChangesMetric = "changes" SensorNamespace = "sensors" KpiNamespace = "kpis" AverageStatistic = "average" //TODO; we should either send timeseries or average )
View Source
const ( SensorAverage queryType = iota CurrentValue DurationCount DiscreteSensorChanges KpiCurrentValue Detailedkpi Unknown )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendQuery ¶ added in v0.11.7
type Converter ¶
type Converter struct { Range *datasource.TimeRange RestClient restclient.RestClient Environment types.Environment Logger log.Logger }
func (*Converter) Convert ¶
func (c *Converter) Convert(refId string, spec *models.QuerySpecification, config *models.DatasourceSettings, timeRange backend.TimeRange) BackendQuery
Click to show internal directories.
Click to hide internal directories.