ascendcorp / grafana-snapshot

MIT License
4 stars 7 forks source link

what tags mean in grafana.snapshots.create_snapshot? #11

Closed yangminglintw closed 4 years ago

yangminglintw commented 4 years ago

I use grafana.snapshots.create_snapshot to create snapshot but the retrun is empty list. Could you help me what argument should I put in tags? Thank you.

Panchorn commented 4 years ago

This library will find the dashboard by tags name. So you have to set Tags on Grafana dashboard first. Go to your dashboard > Settings > General > Tags, then put tag name here.

image

yangminglintw commented 4 years ago

It work! Thank you for helping. It is a convenient tool to generate the snapshot.