cargo run --bin prometheus-kafka-server -- \
--worker-threads=16 \
--batch-size=1000 \
--batch-linger-ms=100 \
--log-conf prometheus_kafka=info \
--dry-run=true
cargo run --release --bin prometheus-kafka-server -- \
--worker-threads=16 \
--batch-size=1000 \
--batch-linger-ms=100 \
--log-conf prometheus_kafka=info \
--dry-run=true
cargo flamegraph --min-width 0.001 --bin prometheus-kafka-server -- \
--worker-threads=16 \
--batch-size=1000 \
--batch-linger-ms=100 \
--log-conf prometheus_kafka=info \
--dry-run=true
grpcurl \
-plaintext \
-import-path ./proto \
-proto transport.proto \
-d @ \
localhost:50051 \
prometheus.PrometheusReader/Receive < medium.json
ghz \
--skipTLS \
--insecure \
--cpus=16 \
--connections=16 \
--concurrency=1000 \
--keepalive=12s \
--duration=10s \
--import-paths=./proto \
--proto=transport.proto \
--data-file=./payload/medium.json \
--call=prometheus.PrometheusReader/Receive \
0.0.0.0:50051