sanathp / statusok

Monitor your Website and APIs from your Computer. Get Notified through Slack, E-mail when your server is down or response time is more than expected.
Other
1.62k stars 197 forks source link

Graphana Dashboard query #23

Open engineerakki opened 6 years ago

engineerakki commented 6 years ago

Hi,

I have installed statusok correctly,

But I am having hard time visualizing it in Graphana, can anyone share a template/graphana queries? I just want to visualize my Get requests response time v/s date-time. Just as shown in statusok's readme files sreenshot.

Thanks.

sanathp commented 6 years ago

Hi,

As of now I don't have a template for grafana, will try it add it to the repo. Status ok dumps data into influxDB, Grafana visualizes data from influxDB. See the link below on how to visualize InfluxDb data on Grafana.

http://docs.grafana.org/features/datasources/influxdb/

Parameters of influxDb DB can be seen here https://github.com/sanathp/statusok/blob/master/database/influxdb.go#L81