grafana / grizzly

A utility for managing Jsonnet dashboards against the Grafana API
https://grafana.github.io/grizzly/
Apache License 2.0
514 stars 66 forks source link

Adds Mimir integration tests #419

Closed spinillos closed 4 months ago

spinillos commented 5 months ago

Contributes to https://github.com/grafana/grizzly/issues/415

It adds Mimir configuration to docker-compose and an two integration tests to send and retrieve the rules.

The test adds one ugly second of delay between tests because Mimir takes some time to sync the rules. Setting poll_interval to 1s in rules configuration, speeds up the sync, but we still need this small delay to avoid 500 error responses.

✅ ~Note: It could be nice have this https://github.com/grafana/grizzly/pull/406 merged first to be able to add more use cases and use http client.~