-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure that TelemetryMetricsStatsD can be started if host can't be…
… resolved If the StatsD collector is not up for some reason and the application can't resolve the name by calling `:inet.gethostbyname(host)` then it prevents the entire application from starting. This commit makes sure that the TelemetryMetricsStatsD can be started in the errored state and depending on the `host_resolution_interval` it can be recovered or not. If `host_resolution_interval` isn't passed, then TelemetryMetricsStatsD will not try to resolve the host again. However, when it is passed, it can try to recover it in `host_resolution_interval` milliseconds.
- Loading branch information
Showing
1 changed file
with
93 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters