From 3720ba7aea4151e50bb104c7a66c2e1312f89a82 Mon Sep 17 00:00:00 2001 From: "@RubenKelevra" Date: Sat, 11 Jun 2016 05:08:16 +0200 Subject: [PATCH] add counter-definition to store values fetched from database in the right way as diff --- plugins/rethinkdb/rethinkdb_node_io | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/plugins/rethinkdb/rethinkdb_node_io b/plugins/rethinkdb/rethinkdb_node_io index bdae09e0..010fdb94 100644 --- a/plugins/rethinkdb/rethinkdb_node_io +++ b/plugins/rethinkdb/rethinkdb_node_io @@ -60,9 +60,12 @@ def print_config(): print("graph_args --base 1000 -l 0") print("graph_vlabel Operations / second") print("graph_category rethinkdb") - print("total_qps.label queries per sec") - print("total_rdps.label read docs per sec") - print("total_wdps.label written docs per sec") + print("total_qps.label queries per + print("total_qps.type COUNTER") + print("total_rdps.label read docs + print("total_rdps.type COUNTER") + print("total_wdps.label written do + print("total_wdps.type COUNTER") exit(0)