K6 Percentile Metric to Open Telemetry

Hi @kiksplx !

When you use the k6’s open telemetry output, the http_req_duration sends this metric as the histogram, and to get percentile, like 95th you have to apply some aggregation function depending on the metrics backend that you’re using.

For instance, in the xk6-output-opentelemetry repository is the docker-compose example based on the Prometheus, where you see how it’s done there.

Let me know if that answers.

Cheers!

1 Like