grafana / synthetic-monitoring-agent

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

k6runner: always log error code and string to user's logger #792

Closed roobre closed 3 weeks ago

roobre commented 1 month ago

This PR causes a last log line to be submitted to the user's Loki instance when a k6 script did not complete successfully. This is a QoL improvement that should help further debug scripts, explicitly logging things like timeouts, k6 getting killed, etc.