Skip to content
This repository has been archived by the owner on Aug 12, 2021. It is now read-only.

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, only Prometheus 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.

Authentication

The auth field supports the following options:

  • username: Username used for basic authentication.
  • password: Password used for basic authentication.
  • token: Token for the Authorization header.
  • insecureSkipTLSVerify: Can be used to skip TLS verification.

Options

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 the maxPoints option is not set. The default value is 10 seconds.
Clone this wiki locally