Collects and exposes SIPp CSV statistics in Prometheus format.
Key features:
- π Runs alongside SIPp or processes existing stat files
- β±οΈ Converts SIPp's timing metrics to milliseconds
- π Exposes metrics in Prometheus format
- π·οΈ Labeling metrics with stat filename
- π Handles both periodic (P) and cumulative (C) metrics
- π Simple web server for metric collection
- Python 3.6+
- SIPp installed
./sipp_exporter.py --address 0.0.0.0 --port 8436 -- sipp -sn uac 192.168.1.100:5060The exporter will:
- Automatically add
-trace_statif missing - Create a temporary stats file if
-stfisn't specified - Launch SIPp and collect its metrics
./sipp_exporter.py --filepath /path/to/stats_*.csv --address 0.0.0.0 --port 8436Metrics are available at:
http://<address>:<port>/metrics
You can also configure the server via environment variables:
export SIPP_EXPORTER_ADDR=0.0.0.0
export SIPP_EXPORTER_PORT=8436
./sipp_exporter.py -- sipp [options]