K6_PROMETHEUS_REMOTE_URL Support For Testkube OpenAPI #2733
-
We are aware that testkube already uses the xk6 version with prometheus support. We are using xk6 version with prometheus and sending default and custom metrics to our prometheus and grafana using K6_PROMETHEUS_REMOTE_URL environment variable. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 18 replies
-
hey @NeoKnick Great question, We do provide metrics for prometheus scraping for our key api methods, like creating or running the tests, but we don't collect them during test execution. So, you can send us a feature-request to collect them or might be want to contribute this piece of code for existing k6 executor ;) |
Beta Was this translation helpful? Give feedback.
-
Yes, true We support both env vars and arguments for k6 executor. Similar in API itself |
Beta Was this translation helpful? Give feedback.
-
kubectl testkube run test telemetrytest2 --variable K6_PROMETHEUS_REMOTE_URL="https://xxxx/insert/0/prometheus/api/v1/write" --args "-o output-prometheus-remote" |
Beta Was this translation helpful? Give feedback.
-
@vsukhin This is the payload This is the testkube log
|
Beta Was this translation helpful? Give feedback.
-
Thank you, @NeoKnick We will ask @tkonieczny to checkit out |
Beta Was this translation helpful? Give feedback.
kubectl testkube run test telemetrytest2 --variable K6_PROMETHEUS_REMOTE_URL="https://xxxx/insert/0/prometheus/api/v1/write" --args "-o output-prometheus-remote"