Skip to content

Commit

Permalink
memcached plugin: Use a DERIVE type for the "listen disabled" metric.
Browse files Browse the repository at this point in the history
Fixes: collectd#1356

(Cherry-pick of upstream commit 01e77b9)
  • Loading branch information
Corey Kosak committed Dec 3, 2015
1 parent 60c14df commit 4b92c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/memcached.c
Expand Up @@ -439,7 +439,7 @@ static int memcached_read (user_data_t *user_data)
}
else if (FIELD_IS ("listen_disabled_num"))
{
submit_derive ("memcached_connections", "listen_disabled", atof (fields[2]), st);
submit_derive ("connections", "listen_disabled", atof (fields[2]), st);
}

/*
Expand Down

0 comments on commit 4b92c9c

Please sign in to comment.