Code

memcached plugin: Expand "del" to "delete" for clarity.
authorFlorian Forster <octo@collectd.org>
Thu, 18 May 2017 07:38:54 +0000 (09:38 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 18 May 2017 07:39:50 +0000 (09:39 +0200)
src/memcached.c

index 627dc85ff0d6e463b78c9a47091c2e44b4ccdd22..5fc17df3c4d0f0467db48367680ad7ec78a0791b 100644 (file)
@@ -425,9 +425,9 @@ static int memcached_read(user_data_t *user_data) {
     } else if (FIELD_IS("evictions")) {
       submit_derive("memcached_ops", "evictions", atoll(fields[2]), st);
     } else if (FIELD_IS("delete_hits")) {
-      submit_derive("memcached_ops", "del_hits", atoll(fields[2]), st);
+      submit_derive("memcached_ops", "delete_hits", atoll(fields[2]), st);
     } else if (FIELD_IS("delete_misses")) {
-      submit_derive("memcached_ops", "del_misses", atoll(fields[2]), st);
+      submit_derive("memcached_ops", "delete_misses", atoll(fields[2]), st);
     }
 
     /*