diff --git a/checks.d/go_expvar.py b/checks.d/go_expvar.py index 96cea43f8d..aa170b9f63 100644 --- a/checks.d/go_expvar.py +++ b/checks.d/go_expvar.py @@ -59,7 +59,7 @@ def __init__(self, name, init_config, agentConfig, instances=None): self._last_gc_count = defaultdict(int) def _get_data(self, url): - r = requests.get(url) + r = requests.get(url, timeout=10) r.raise_for_status() return r.json()