You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
write_http plugin should send metrics to right destinations even if the dns record value of 'URL' parameter changed.
Actual behavior
write_http plugin sends metrics to the initial destination that it resolved at the start time.
(there might be no dns cache expiration in write_http plugin)
Steps to reproduce
make a dns record (A or CNAME) and set TTL as a small value : for example, 'metric.target.com' for '10.10.10.1' and TTL 60 seconds (1 minute).
set URL parameter of write_http plugin to that domain. example below.
<Plugin "write_http">
<Node "localhost">
URL "metric.target.com"
Format JSON
</Node>
</Plugin>
change the dns record to the another value. for example, '10.10.10.1' -> '10.10.10.2'
write_http plugin still sends metrics to the old ip (10.10.10.1) even after DNS TTL time. it does not catch up changes in the dns record. it should send to the new ip (10.10.10.2).
The text was updated successfully, but these errors were encountered:
Expected behavior
write_http plugin should send metrics to right destinations even if the dns record value of 'URL' parameter changed.
Actual behavior
write_http plugin sends metrics to the initial destination that it resolved at the start time.
(there might be no dns cache expiration in write_http plugin)
Steps to reproduce
The text was updated successfully, but these errors were encountered: