mavimo / grizzly

A utility for managing Jsonnet dashboards against the Grafana API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grizzly: Manage your Observability Systems

A utility for managing various observability resources with Jsonnet. Currently supported are:

  • Grafana dashboards/dashboard folders
  • Grafana datasources
  • Grafana Cloud Prometheus recording rules/alerts
  • Grafana Synthetic Monitoring checks

See docs for usage details.

Building Grizzly from Source

To build Grizzly locally, inside a checkout, simply use:

$ make dev

Running tests

There are both unit tests and integration tests in this repo.

config_test.go and unit_test.go can both be executed autonomously.

However, in order to run integration tests you need to make use of make test. This command spins up a Grafana instance with certain config and provisioned resources, so the integration tests can run against it.

You can also manually execute make run-test-image-locally and run the tests for debugging.

About

A utility for managing Jsonnet dashboards against the Grafana API

License:Apache License 2.0


Languages

Language:Go 92.5%Language:Jsonnet 5.5%Language:Makefile 1.5%Language:Dockerfile 0.5%