X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Futils_curl_stats.c;h=b242a239b6f667d61b1c8aeae92805e51a51bfec;hb=d76b962d383e2944fe390594ced38521ac04c846;hp=5a37083a0aa6e680c26852b4cd6e1307386315f1;hpb=5007fb256b4abbef2dbc675f9a15273554a3385e;p=collectd.git diff --git a/src/utils_curl_stats.c b/src/utils_curl_stats.c index 5a37083a..b242a239 100644 --- a/src/utils_curl_stats.c +++ b/src/utils_curl_stats.c @@ -136,7 +136,9 @@ static struct { SPEC (redirect_time, "RedirectTime", dispatch_gauge, "duration", CURLINFO_REDIRECT_TIME), SPEC (redirect_count, "RedirectCount", dispatch_size, "count", CURLINFO_REDIRECT_COUNT), SPEC (num_connects, "NumConnects", dispatch_size, "count", CURLINFO_NUM_CONNECTS), +#ifdef HAVE_CURLINFO_APPCONNECT_TIME SPEC (appconnect_time, "AppconnectTime", dispatch_gauge, "duration", CURLINFO_APPCONNECT_TIME), +#endif #undef SPEC };