k6 warns: `The test has generated metrics with 100001 unique time series, which is higher than the suggested limit of 100000 and could cause high memory usage`.

IntermediateTroubleshootingk6 Load Testing
Answer

Likely causes → URLs with unique IDs (/orders/8f2c...) become the name and url tags, so each request creates new metric series.

Diagnose → Look for dynamic values in URLs and custom tags in the script.

Fix → Group URLs with a static name tag:

http.get(`${BASE}/orders/${id}`, { tags: { name: 'GET /orders/:id' } });

or use http.url template literals, which set the name tag automatically.

Prevent → Review scripts for high-cardinality tags, same as Prometheus label hygiene.

All SRE & Reliability questions Roadmap: SRE & incident response

More on k6 Load Testing