This repository has been archived by the owner on Aug 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Prometheus
ricoberger edited this page Nov 30, 2020
·
2 revisions
The Prometheus datasource file supports the following fields:
type: <string>
name: <string>
url: <string>
auth:
username: <string>
password: <string>
token: <string>
insecureSkipTLSVerify: <bool>
options:
maxPoints: <int>
step: <int>
-
type
: Type is the type of the datasource. Currently, onlyPrometheus
is supported. -
name
: Custom name of the datasource, which is used in the dashboards and in the datasource modal. -
url
: API endpoint for your Prometheus instance.
The auth
field supports the following options:
-
username
: Username used for basic authentication. -
password
: Password used for basic authentication. -
token
: Token for theAuthorization
header. -
insecureSkipTLSVerify
: Can be used to skip TLS verification.
The options
field supports the following options:
-
maxPoints
: Maximum number of points which should be returned for a time series from Prometheus. -
steps
: Steps between points in a Prometheus time series in seconds. The value is only used if themaxPoints
option is not set. The default value is10
seconds.