Protected
configReadonly
fullThe fully qualified name of this TimeSeriesSource
.
Static
Readonly
fullProtected
getThe NativeQueryBuilderFactoryFn
used to create new NativeQueryBuilders
for the DB.
Creates a new TimeInstantQuery
that selects all TimeSeries
that have the specified metricName
.
The TimeSeries
resulting from this query will have a single sample each.
The name of the application, for which to get the metrics. In PromQL this is the beginning of the metric name, before the first underscore (e.g., 'myapp' for the metric 'myapp_response_time'), while in Flux this is the name of the bucket.
The name of the metric that should be selected (i.e., the rest of the metric name in PromQL
or the value of the _measurement
column in Flux).
A new TimeInstantQuery
that allows filtering on labels.
Creates a new TimeRangeQuery
that selects all TimeSeries
within the specified time range that have the specified metricName
.
The name of the application, for which to get the metrics. In PromQL this is the beginning of the metric name, before the first underscore (e.g., 'myapp' for the metric 'myapp_response_time'), while in Flux this is the name of the bucket.
The name of the metric that should be selected (i.e., the rest of the metric name in PromQL
or the value of the _measurement
column in Flux).
The TimeRange
within which the selected samples of the TimeSeries
should lie.
A new TimeRangeQuery
that allows filtering on labels.
Generated using TypeDoc
Common superclass for
TimeSeriesSource
implementations that want to reuse the existingTimeSeriesQuery
implementations.When implementing this abstract class, only a
name
and a getter for theNativeQueryBuilderFactoryFn
need to be provided.