ricoberger / script_exporter

Prometheus exporter to execute scripts and collect metrics from the output or the exit status.
MIT License
354 stars 82 forks source link

Return Max Timeout if Query or Header Timeouts not Specified #78

Closed ricoberger closed 1 year ago

ricoberger commented 1 year ago

If the query or header timeouts are not specified, but the script configuration contains a max timeout, the max timeout will now be used. Before this change no timeout was used when the query or header timeout wasn't present.

Fixes #77