Intro
I am a tester and need to analyze the results of automated tests (response times and etc.)
Current situation
1) I run performance tests using locust.io
2) During test execution, response times of successful results are pushed to Graphite database
3) I visualize the results in Grafana
Problem
I tried to calculate the average using Grafana to see if it matches the results generated by Locust. It doesn't.
After a while, i tried to figure out what could be a problem. Graphite has data retention. As a result, the smallest time period for a data point is 1 second.
My situation is that I could have several data points with a time difference of several milliseconds.
I thought I could use something like Prometheus as a substitute for graphite, but it doesn't seem to have an import of data. A solution would be installing Graphite Exporter, such that i can imitate "pushing" data to db. But I think installing this extension and setting everything up is an overkill. There should be a much simpler solution.
Question
Could someone suggest a solution from personal experience? I need a db/storage to which I can write in a format query_name responce_time timestamp, and then use this storage as a data source for visualizing a report in Grafana.
Thanks in advance!
use -docker run -p 8086:8086
– mglauche Apr 09 '20 at 09:19-v influxdb:/var/lib/influxdb
influxdb to bind directories or even better create a data volume: https://towardsdatascience.com/get-system-metrics-for-5-min-with-docker-telegraf-influxdb-and-grafana-97cfd957f0ac