curl plugin: add AddressFamily
authorJakub Jankowski <shasta@toxcorp.com>
Sat, 3 Nov 2018 01:51:29 +0000 (02:51 +0100)
committerJakub Jankowski <shasta@toxcorp.com>
Sat, 3 Nov 2018 01:51:29 +0000 (02:51 +0100)
commitde29c005c9faef953833331e709f67e95e6f9e1d
tree65de8ae3d7d79385718ade91b6f929fc22326c82
parent726b1e9024bcb976018a8496c2c0a4fd3ec67e77
curl 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 <Page> 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.c