X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fbind.c;h=5b7d7a056efe7d1a693c34b6737a191b2dbab63c;hb=3b473acc5d4d27e5cf5101a4b8cc8a21c2bb7262;hp=36e225bfe4c182c8de0396c59a3b7543d9590204;hpb=8a92d10a6f95b5fc1f4b60deabc6d607a6870e2a;p=collectd.git diff --git a/src/bind.c b/src/bind.c index 36e225bf..5b7d7a05 100644 --- a/src/bind.c +++ b/src/bind.c @@ -799,7 +799,7 @@ static int bind_xml_stats_handle_view (int version, xmlDoc *doc, /* {{{ */ list_info_ptr_t list_info = { plugin_instance, - /* type = */ "dns_qtype_gauge" + /* type = */ "dns_qtype" }; ssnprintf (plugin_instance, sizeof (plugin_instance), "%s-qtypes", @@ -830,13 +830,14 @@ static int bind_xml_stats_handle_view (int version, xmlDoc *doc, /* {{{ */ doc, path_ctx, current_time, DS_TYPE_COUNTER); } /* }}} */ + /* Record types in the cache */ if (view->cacherrsets != 0) /* {{{ */ { char plugin_instance[DATA_MAX_NAME_LEN]; list_info_ptr_t list_info = { plugin_instance, - /* type = */ "dns_qtype_gauge" + /* type = */ "dns_qtype_cached" }; ssnprintf (plugin_instance, sizeof (plugin_instance), "%s-cache_rr_sets",