From ff8c26bcde72fee9168de6dde55fa84c8ac29bd1 Mon Sep 17 00:00:00 2001 From: Marc Hesse Date: Tue, 3 Feb 2015 12:46:22 -0800 Subject: [PATCH] fixing 'rethinkdb.stats.written_docs_total' mapping --- src/clustering/administration/stats/debug_stats_backend.cc | 2 +- src/clustering/administration/stats/request.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clustering/administration/stats/debug_stats_backend.cc b/src/clustering/administration/stats/debug_stats_backend.cc index d5dde25806a..f37680d9456 100644 --- a/src/clustering/administration/stats/debug_stats_backend.cc +++ b/src/clustering/administration/stats/debug_stats_backend.cc @@ -26,7 +26,7 @@ bool debug_stats_artificial_table_backend_t::write_row( UNUSED ql::datum_t *new_value_inout, UNUSED signal_t *interruptor, std::string *error_out) { - *error_out = "It's illegal to write to the `rethinkdb.debug_stats` table."; + *error_out = "It's illegal to write to the `rethinkdb._debug_stats` table."; return false; } diff --git a/src/clustering/administration/stats/request.cc b/src/clustering/administration/stats/request.cc index 758f01d36df..95df7a3a625 100644 --- a/src/clustering/administration/stats/request.cc +++ b/src/clustering/administration/stats/request.cc @@ -119,7 +119,7 @@ void parsed_stats_t::store_shard_values(const ql::datum_t &shard_perf, &stats_out->written_docs_per_sec); add_perfmon_value(sub_pair.second, "total_keys_read", &stats_out->read_docs_total); - add_perfmon_value(sub_pair.second, "total_keys_written", + add_perfmon_value(sub_pair.second, "total_keys_set", &stats_out->written_docs_total); } else if (key == "cache") { add_perfmon_value(sub_pair.second, "in_use_bytes",