Real time
Besides the end-of-test summary, you can also view metrics as granular data points. k6 can stream the metrics in real-time and either:
- Write output to a file
- Send output to an external service.
Write to file
Currently, k6 supports writing to the following file formats:
Stream to service
You can also stream real-time metrics to:
As well as the following third-party services:
- Amazon CloudWatch
- Apache Kafka
- Datadog
- Dynatrace
- Elasticsearch
- Grafana Cloud Prometheus
- InfluxDB
- Netdata
- New Relic
- Prometheus remote write
- TimescaleDB
- StatsD
- Other alternative with a custom output extension
Note
This list applies to local tests, not to cloud tests.