Documentation ¶
Overview ¶
package metric represents Prometheus metric samples as objects.
Class ¶
There is only one class: `metric:metric`
Object ¶
A metric sample, which includes a metric time series (name and labels), a timestamp and a value.
Query ¶
Queries are PromQL time series selector strings, prefixed by `metric:metric:` for example:
metric:metric:http_requests_total{environment=~"staging|testing|development",method!="GET"}
Store ¶
Prometheus is the store, store configuration:
domain: metric metric: URL_OF_PROMETHEUS
Index ¶
Constants ¶
View Source
const StoreKeyMetricURL = "metric"
Variables ¶
View Source
var (
Domain = domain{}
)
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.