@hackage / grafdhall

Configure grafana dashboards from Dhall expression

Latest0.1.0.0

About

Metadata

  • Last updated , by TristanCacqueray
  • License Apache-2.0
  • Categories Systems Programming
  • Maintained by: Tristan de Cacqueray <tdecacqu@redhat.com>

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 8.10.4

Readme

grafdhall

Hackage Apache-2.0 license

grafdhall takes Grafana dashboards in Dhall format, and submits them to a grafana service.

The CLI expects the following environment variables:

  • GRAFANA_URL : the url of the service.
  • GRAFANA_PASS : the password of the user.
  • GRAFANA_USER : the name of the user, defaults to admin.

Uses the dhall-grafana bindings to write the dashboards, checkout the examples.

Contribute

Build the project:

$ cabal build

Run the cli:

$ cabal run grafdhall -- --help