Module response

Source
Expand description

All types that are returned when querying the Prometheus API.

Structs§

ActiveTarget
A single active target.
Alert
A single alert.
AlertingRule
An alerting rule.
Alertmanager
A single alertmanager.
Alertmanagers
Collection of active and dropped alertmanagers as returned by the API.
BuildInformation
An object containing Prometheus server build information.
DroppedTarget
A single dropped target.
HeadStatistics
Prometheus TSDB head block data.
InstantVector
A single time series containing a single data point/sample.
MetricMetadata
A metric metadata object.
PromqlResult
RangeVector
A single time series containing a range of data points/samples.
RecordingRule
A recording rule.
RuleGroup
A group of rules.
RuntimeInformation
An object containing Prometheus server build information.
Sample
A single data point.
Samples
Stats
TargetMetadata
A target metadata object.
Targets
Collection of active and dropped targets as returned by the API.
Timings
TsdbItemCount
Prometheus TSDB item counts used in different contexts (e.g. series count, label value count …).
TsdbStatistics
Prometheus TSDB statistics.
WalReplayStatistics
WAL replay state.

Enums§

Data
A wrapper for possible result types of expression queries (Client::query and Client::query_range).
MetricType
Possible metric types that the HTTP API may return.
Rule
A wrapper for different types of rules that the HTTP API may return.
WalReplayState