Kong / mesh-perf

Performance tests of Kong Mesh
Apache License 2.0
0 stars 1 forks source link

feat(grafana): print Grafana URL with relevant time range #41

Closed lobkovilya closed 1 year ago

lobkovilya commented 1 year ago

When observing Prometheus snapshots captured many days ago it can be tedious to find relevant time range. This PR creates a new make target start-grafana that generates URL with relevant time range:

$ PROM_SNAPSHOT_PATH=/tmp/prom-snapshots/20230712T110156Z-59c7d2c4385cb351/ make start-grafana
[+] Running 2/2
 ✔ Container prometheus  Started                                                                                                                                                               0.3s 
 ✔ Container grafana     Running                                                                                                                                                               0.0s 

Grafana successfully started, access using URL:
http://localhost:3000/d/z6C1v-NGk?from=1689159562724&to=1689159716673