curl_json plugin: add AddressFamily
authorJakub Jankowski <shasta@toxcorp.com>
Tue, 14 May 2019 00:00:18 +0000 (02:00 +0200)
committerJakub Jankowski <shasta@toxcorp.com>
Tue, 14 May 2019 00:00:18 +0000 (02:00 +0200)
commitb167ebe5bbd250659b21177414671e6fdb1b3bd0
treeb353b30f867757d68fb2e12723c6253a62819d95
parent549064e21ce99efb8d93083a936dd4adebf3f839
curl_json plugin: add AddressFamily

In situations when hostnames in URLs resolve to both IPv4 and IPv6
addresses, sometimes it's useful to have separate statistics for both
of these separately.

With this commit, within <URL> block you can set
  AddressFamily "ipv6"
or
  AddressFamily "ipv4"
to specifically use one or the other.

Signed-off-by: Jakub Jankowski <shasta@toxcorp.com>
src/collectd.conf.in
src/collectd.conf.pod
src/curl_json.c