Hey folks,
Maybe I'm doing something wrong, but if my statsd agent restarts all function calls end up raising as:
> Sensetra.Statsd.increment("elixir.foo", 1)
** (ArgumentError) argument error
:erlang.port_command(Sensetra.Statsd, [<<1, 31, 189, 172, 31, 22, 97>>, "elixir.foo", 58, "1", 124, "c"])
(statix) lib/statix/conn.ex:30: Statix.Conn.transmit/2
This seems undesirable, monitoring functions shouldn't nuke the app in the event that the port goes down.
Ideally there'd be some mechanism for trying to reconnect as well, but at a minimum it would seem we probably want to catch this error.
Hey folks,
Maybe I'm doing something wrong, but if my statsd agent restarts all function calls end up raising as:
This seems undesirable, monitoring functions shouldn't nuke the app in the event that the port goes down.
Ideally there'd be some mechanism for trying to reconnect as well, but at a minimum it would seem we probably want to catch this error.