Skip to content

Commit

Permalink
fixing 'rethinkdb.stats.written_docs_total' mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Hesse committed Feb 4, 2015
1 parent db0eb07 commit ff8c26b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/clustering/administration/stats/debug_stats_backend.cc
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion src/clustering/administration/stats/request.cc
Expand Up @@ -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",
Expand Down

0 comments on commit ff8c26b

Please sign in to comment.