Steps to reproduce
Run with a time filter that returns no requests
cargo run -- -t 1 --prometheus-listen localhost:9898 src/test/random.log
Query the Prometheus endpoint
Result
Panic! Due to an unwrap()...
Expected
Send count=0 and NaN for all other metrics. https://prometheus.io/docs/practices/instrumentation/#avoid-missing-metrics
Steps to reproduce
Run with a time filter that returns no requests
Query the Prometheus endpoint
Result
Panic! Due to an
unwrap()...Expected
Send
count=0andNaNfor all other metrics. https://prometheus.io/docs/practices/instrumentation/#avoid-missing-metrics