Project translated automatically.
Log in
or
register,
to view the original
There is a tool (https://www.sitespeed.io/documentation/browsertime/installation/), which is to run the docker command docker run --rm -v "$ (pwd)": / browsertime sitespeedio / browsertime: 16.9.0 https://www.sitespeed.io, where https://www.sitespeed.io is the law of the researched site.
- the result is a file with metrics.
Accordingly, you need to run that docker command (with the ability to specify the site for research as a parameter of the Java method). According to Telegraf, this data must be written to InfluxDB, and the files themselves must be deleted.
In addition to writing to InfluxDB, implement a method that will read user data from InfluxDB who recorded something. Assume that different users will write data in parallel (ie generate a tag or field that will characterize the user).
Demonstrate data recording and reading (output data to console, for example).