grafana / xk6-dashboard

A k6 extension that makes k6 metrics available on a web-based dashboard.
GNU Affero General Public License v3.0
334 stars 30 forks source link

fix: Skipping HTML report file generation if there is not enough data. #174

Closed szkiba closed 6 months ago

szkiba commented 6 months ago

It is confusing if an empty graph appears in the HTML report if the test run was too short. It is not clear to the user why the graph is empty.

Instead, the report generation should be skipped if there is not enough data available. This happens if the test was run for less than twice the period time (20s for the default period time).

A warning log entry informs the user about skipping the report generation.

Closes #159