A Grafana k6 dashboard shows no data, although `experimental-prometheus-rw` output reports no errors.
IntermediateTroubleshootingk6 Load Testing
Answer
Likely causes → Metric names differ from what the dashboard expects (k6 remote-write metrics are prefixed k6_, and trend metrics are exported as summaries or native histograms depending on K6_PROMETHEUS_RW_TREND_AS_NATIVE_HISTOGRAM and K6_PROMETHEUS_RW_TREND_STATS), or the dashboard filters on a testid tag that was not set.
Diagnose →
count by (__name__) ({__name__=~"k6_.*"})
Fix → Align the dashboard queries with the exported names, set the trend stats you need (for example K6_PROMETHEUS_RW_TREND_STATS="p(95),p(99),avg"), and tag runs with --tag testid=release-2.14.
Prevent → Use the dashboard version that matches your k6 output settings and pin both.
More on k6 Load Testing
k6 prints `WARN[0030] Insufficient VUs, reached 100 active VUs and cannot initialize more executor=constant-arrival-rate scenario=steady`.AdvancedCI fails with `ERRO[0602] thresholds on metrics 'http_req_duration' have been crossed` and exit code 99.BeginnerEvery request fails with `dial tcp: lookup checkout on 10.96.0.10:53: no such host`.BeginnerMany requests fail with `request timeout` after exactly 60 seconds.IntermediateThe test starts fine, then errors switch to `dial tcp 10.96.41.12:8080: connect: connection refused`.IntermediateThe k6 load generator logs `socket: too many open files`.Intermediate