stephenyeargin / hubot-grafana

📈🤖 Query Grafana dashboards
http://docs.grafana.org/tutorials/hubot_howto/
MIT License
154 stars 48 forks source link

Add support for from= and to= parameters #172

Closed KeesCBakker closed 7 months ago

KeesCBakker commented 7 months ago

Normally dashboards are relative from now. This PR makes it possible to supply to= and from= parameters to share dashboards from a certain timestamp.

The default from and to will be overriden. We've tested it and the vars are also still working.

stephenyeargin commented 7 months ago

@KeesCBakker LGTM! I've wired in releases via a GitHub Actions when it detects a change in package.json.

KeesCBakker commented 7 months ago

So, I've bumped the version to 5.1.0. Let's see what it does 😄

stephenyeargin commented 7 months ago

Looks like it worked as intended. 🎉