Add option to configure deadline in the ping input
Problem
Domyślnie input ping
ma parametr deadline
ustawiony na 10 sekund.
Domyślnie nasza rola ustawia okres zbierania próbek na 10 sekund.
Wynik:
2022-01-18T08:46:06Z W! [inputs.ping] Collection took longer than expected; not complete after interval of 10s
2022-01-18T13:05:27Z W! [inputs.ping] Collection took longer than expected; not complete after interval of 10s
2022-01-18T13:05:48Z W! [inputs.ping] Collection took longer than expected; not complete after interval of 10s
2022-01-18T13:06:05Z W! [inputs.ping] Collection took longer than expected; not complete after interval of 10s
2022-01-18T13:06:17Z W! [inputs.ping] Collection took longer than expected; not complete after interval of 10s
2022-01-18T13:06:36Z W! [inputs.ping] Collection took longer than expected; not complete after interval of 10s
2022-01-18T13:06:58Z W! [inputs.ping] Collection took longer than expected; not complete after interval of 10s
Ogólnie deadline dla pinga musi być mniejszy niż całkowity czas zbierania metryki.