grafana / k6-operator

An operator for running distributed k6 tests.
Apache License 2.0
576 stars 158 forks source link

k6-operator test runs don't propagate maxMetricSamplesPerPackage setting #228

Closed esquonk closed 1 year ago

esquonk commented 1 year ago

Brief summary

Slack thread: https://raintank-corp.slack.com/archives/C043CAPGCUR/p1683531983983669

ingest-api cloud service returns a config from create_test endpoint which includes maxMetricSamplesPerPackage setting among other things. These setting should be propagated to k6 instances so that it interacts with cloud output correctly.

One effect of this is that cloud ingest api gets larger-than-expected metrics packets that it cannot handle.

k6-operator version or image

v0.0.9

K6 YAML

Other environment details (if applicable)

No response

Steps to reproduce the problem

Run a heavy test that generates lots of metric samples.

Expected behaviour

Ingest packets are limited to maxMetricSamplesPerPackage.

Actual behaviour

Ingest packets are not limited to maxMetricSamplesPerPackage.

yorugac commented 1 year ago

This is considered resolved with PR #229