Prometheus-class | R Documentation |
Reference Class to interface with a Prometheus Server
host
The hostname of the Prometheus server
port
The port number of the Prometheus server
query(query, time = NULL, timeout = NULL)
Run an instant query
rangeQuery(query, start, end, step, timeout = NULL)
Query data for a specific range
## Not run:
prom <- Prometheus$new(host = "https://foo.bar", port = 9090)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.