https://github.com/softwarefactory-project/grafdhall
https://github.com/softwarefactory-project/grafdhall
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/softwarefactory-project/grafdhall
- Owner: softwarefactory-project
- License: apache-2.0
- Created: 2021-03-23T15:21:10.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-20T14:08:07.000Z (over 3 years ago)
- Last Synced: 2025-09-25T23:30:14.977Z (6 months ago)
- Language: Haskell
- Size: 22.5 KB
- Stars: 1
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-dhall - grafdhall - Takes Grafana dashboards in Dhall format, and submits them to a Grafana service. (Projects)
README
# grafdhall
[](https://hackage.haskell.org/package/grafdhall)
[](LICENSE)
`grafdhall` takes [Grafana][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][dhall-grafana] bindings to write the dashboards, checkout the
[examples](./examples/).
## Contribute
Build the project:
```
$ cabal build
```
Run the cli:
```
$ cabal run grafdhall -- --help
```
[grafana]: https://grafana.com
[dhall-grafana]: https://github.com/weeezes/dhall-grafana