Prometheus
Extract data from a Prometheus instance
Setup
The following credentials keys are accepted:
http_url
(required) -> The HTTP url of the instancetoken
(optional) -> the token key to use to access the instancetenant
(optional) -> the tenant id for Grafana Mimir authentication and authorizationuser
(optional) -> the username to use to access the instance via Basic Authpassword
(optional) -> the password to use to access the instance via Basic Authtls
(optional — v1.2.7) -> whether to use TLS for connecting (true
/false
).cert_file
(optional — v1.2.7) -> the client certificate to use to access the instance via TLS (file path)cert_key_file
(optional — v1.2.7) -> the client key to use to access the instance via TLS (file path)cert_ca_file
(optional — v1.2.7) -> the client CA certificate to use to access the instance via TLS (file path)
Using sling conns
sling conns
Here are examples of setting a connection named PROMETHEUS
. We must provide the type=prometheus
property:
Environment Variable
Sling Env File YAML
See here to learn more about the sling env.yaml
file.
If you are facing issues connecting, please reach out to us at support@slingdata.io, on discord or open a Github Issue here.
Guides
Last updated