curl_xml plugin: add AddressFamily
authorJakub Jankowski <shasta@toxcorp.com>
Tue, 14 May 2019 00:16:35 +0000 (02:16 +0200)
committerJakub Jankowski <shasta@toxcorp.com>
Tue, 14 May 2019 00:16:35 +0000 (02:16 +0200)
commit102fd13d23aace5ca80cfa0a38184a5c3c392b10
tree209c1efe1c20f8b4e28a5da9a1e165af1136d21f
parentb167ebe5bbd250659b21177414671e6fdb1b3bd0
curl_xml 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_xml.c