Prometheus

name: prom1
url: domain.com
timeout: 3s
basicAuth:
  username: username
  password: password

name

Required, Unique

Datasource name

local ds = require('datasource.prometheus.prom1')

url

Required

Request URI. API path /api/v1/... will be added

basicAuth

Username and password, if Prometheus require Basic Auth

timeout

By default: 5s string

timeout