grafana / synthetic-monitoring-agent

Synthetic Monitoring Agent
https://grafana.com/docs/grafana-cloud/how-do-i/synthetic-monitoring/
Apache License 2.0
157 stars 20 forks source link

Fix: report duration from script #698

Closed mem closed 2 months ago

mem commented 2 months ago

Right now we are reporting the time it takes to run a script, including the time it takes for k6 to actually start running the script, plus all other kinds of overhead.

Modify the sm extension to report the script duration, and report that number as probe_duration_seconds. We are still reporting probe_script_duration_seconds as well. This will get fixed in a future change.