A Concourse resource to update Grafana dashboard panels.
Parameter | Required | Example | Description |
---|---|---|---|
grafana_url | Yes | https://YOUR-GRAFANA.COM | your grafana domain url |
grafana_token | Yes | {YOUR_GRAFANA_TOKEN} |
Given a panels specified by panels
, to update/create Grafana dashboard panels.
-
dashboard_id
: Required. grafana dashboard ID. -
panels
: Required. .json panels String provided by an output of a task. .
resource_types:
- name: grafana-resource
type: docker-image
source:
repository: teliaoss/grafana-resource
resource:
- name: grafana-update
type: grafana-resource
source:
grafana_url: ((grafana-url))
grafana_token: ((grafana-token))
- put: grafana-update
params:
dashboard_id: ((dashboard-id))
panels: "path/to/panels.json"