sylr / alertmanager-splunkbot

alertmanager alerts to splunk
6 stars 7 forks source link

Set default timeouts for TLS and transport along with closing HTTP client connections. #3

Closed jess-belliveau closed 5 years ago

jess-belliveau commented 5 years ago

During multiple individual alerts firing, the http request was being re-used which resulted in an EOF response to splunkbot. This then fires the 503 back to alertmanager which isn't ideal.

Tested and confirmed alerts still flow to splunk with this change and no longer receive the EOF message.

sylr commented 5 years ago

Thanks!