Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Build Status

Grafana resource

A Concourse resource to update Grafana dashboard panels.

Source Configuration

Parameter Required Example Description
grafana_url Yes https://YOUR-GRAFANA.COM your grafana domain url
grafana_token Yes {YOUR_GRAFANA_TOKEN}

out: Update or Create Grafana dashboard panels.

Given a panels specified by panels, to update/create Grafana dashboard panels.

Parameters

  • dashboard_id: Required. grafana dashboard ID.

  • panels: Required. .json panels String provided by an output of a task. .

Example Configuration

Resource type

resource_types:
- name: grafana-resource
    type: docker-image
    source:
      repository: teliaoss/grafana-resource

Resource

resource:
- name: grafana-update
    type: grafana-resource
    source:
      grafana_url: ((grafana-url))
      grafana_token: ((grafana-token))

Plan

- put: grafana-update
  params: 
    dashboard_id: ((dashboard-id))
    panels: "path/to/panels.json"

Panels file example

panels.json

Libraries

Rustana