package
0.0.0-20191104030310-5dfa7fa53fc9
Repository: https://github.com/a-and/pkg.git
Documentation: pkg.go.dev
# Functions
AllowPrometheusSync sleeps for sometime to allow prometheus time to scrape the metrics.
PromAPI gets a handle to the prometheus API.
RunQuery runs a prometheus query and returns the metric value.
RunQueryRange runs a prometheus query over the given range.
VectorValue gets the vector value from the value type.