Permalink
Browse files

Don't start procs

  • Loading branch information...
1 parent f05c95e commit 9dd61485965d4cf72d89e5207b0372d5c0aea906 @russelldb committed Apr 3, 2012
Showing with 47 additions and 47 deletions.
  1. +47 −47 src/riak_kv_stat.erl
View
@@ -191,53 +191,53 @@
-define(APP, riak_kv).
-spec stat_specs() -> riak_core_metric:stat_specs().
-stat_specs() ->
- [{vnode_gets, [{type, meter}, {group, vnode}]},
- {vnode_puts, [{type, meter}, {group, vnode}]},
- {vnode_gets_total, [{type, counter}, {group, vnode}]},
- {vnode_puts_total, [{type, counter}, {group, vnode}]},
- {vnode_index_reads, [{type, meter}, {group, vnode}]},
- {vnode_index_reads_total, [{type, counter}, {group, vnode}]},
- {vnode_index_writes, [{type, meter}, {group, vnode}]},
- {vnode_index_writes_total, [{type, counter}, {group, vnode}]},
- {vnode_index_writes_postings, [{type, meter}, {group, vnode}]},
- {vnode_index_writes_postings_total, [{type, counter}, {group, vnode}]},
- {vnode_index_deletes, [{type, meter}, {group, vnode}]},
- {vnode_index_deletes_total, [{type, counter}, {group, vnode}]},
- {vnode_index_deletes_postings, [{type, meter}, {group, vnode}]},
- {vnode_index_deletes_postings_total, [{type, counter}, {group, vnode}]},
- {node_gets_total, [{type, counter}, {group, node}]},
- {node_puts_total, [{type, counter}, {group, node}]},
- {node_get_fsm_siblings, [{type, histogram}, {group, node},
- {presentation,
- [{legacy, [{args, {0, 1000, 1000, up}},
- {fields,[mean, median, '95', '99', '100']}]}]}]},
- {node_get_fsm_objsize, [{type, histogram}, {group, node},
- {presentation,
- [{legacy, [{args, { 0, 16 * 1024 * 1024, 16 * 1024, down}},
- {fields,[mean, median, '95', '99', '100']}]}]}]},
- {get_fsm_time, [{type, histogram}, {group, node},
- {presentation,
- [{legacy, [{args, {0, 5000000, 20000, down}},
- {fields,[{count, node_gets}, mean, median, '95', '99', '100']},
- {prefix, node}]}]}]},
- {put_fsm_time, [{type, histogram}, {group, node},
- {presentation,
- [{legacy, [{args, {0, 5000000, 20000, down}},
- {fields,[{count, node_puts}, mean, median, '95', '99', '100']},
- {prefix, node}]}]}]},
- {pbc_connects, [{type, meter}, {group, pbc}]},
- {pbc_connects_total, [{type, counter}, {group, pbc}]},
- {pbc_active, [{type, counter}, {group, pbc}]},
- {read_repairs, [{type, meter}, {group, node}]},
- {read_repairs_total, [{type, counter}, {group, node}]},
- {coord_redirs_total, [{type, counter}, {group, node}]},
- {mapper_count, [{type, counter}, {group, mapper},
- {presentation,
- [{legacy, {display_name, executing_mappers}}]}]},
- {precommit_fail, [{type, counter}, {group, node}]},
- {postcommit_fail, [{type, counter}, {group, node}]}
- ].
+stat_specs() -> [].
+ %% [{vnode_gets, [{type, meter}, {group, vnode}]},
+ %% {vnode_puts, [{type, meter}, {group, vnode}]},
+ %% {vnode_gets_total, [{type, counter}, {group, vnode}]},
+ %% {vnode_puts_total, [{type, counter}, {group, vnode}]},
+ %% {vnode_index_reads, [{type, meter}, {group, vnode}]},
+ %% {vnode_index_reads_total, [{type, counter}, {group, vnode}]},
+ %% {vnode_index_writes, [{type, meter}, {group, vnode}]},
+ %% {vnode_index_writes_total, [{type, counter}, {group, vnode}]},
+ %% {vnode_index_writes_postings, [{type, meter}, {group, vnode}]},
+ %% {vnode_index_writes_postings_total, [{type, counter}, {group, vnode}]},
+ %% {vnode_index_deletes, [{type, meter}, {group, vnode}]},
+ %% {vnode_index_deletes_total, [{type, counter}, {group, vnode}]},
+ %% {vnode_index_deletes_postings, [{type, meter}, {group, vnode}]},
+ %% {vnode_index_deletes_postings_total, [{type, counter}, {group, vnode}]},
+ %% {node_gets_total, [{type, counter}, {group, node}]},
+ %% {node_puts_total, [{type, counter}, {group, node}]},
+ %% {node_get_fsm_siblings, [{type, histogram}, {group, node},
+ %% {presentation,
+ %% [{legacy, [{args, {0, 1000, 1000, up}},
+ %% {fields,[mean, median, '95', '99', '100']}]}]}]},
+ %% {node_get_fsm_objsize, [{type, histogram}, {group, node},
+ %% {presentation,
+ %% [{legacy, [{args, { 0, 16 * 1024 * 1024, 16 * 1024, down}},
+ %% {fields,[mean, median, '95', '99', '100']}]}]}]},
+ %% {get_fsm_time, [{type, histogram}, {group, node},
+ %% {presentation,
+ %% [{legacy, [{args, {0, 5000000, 20000, down}},
+ %% {fields,[{count, node_gets}, mean, median, '95', '99', '100']},
+ %% {prefix, node}]}]}]},
+ %% {put_fsm_time, [{type, histogram}, {group, node},
+ %% {presentation,
+ %% [{legacy, [{args, {0, 5000000, 20000, down}},
+ %% {fields,[{count, node_puts}, mean, median, '95', '99', '100']},
+ %% {prefix, node}]}]}]},
+ %% {pbc_connects, [{type, meter}, {group, pbc}]},
+ %% {pbc_connects_total, [{type, counter}, {group, pbc}]},
+ %% {pbc_active, [{type, counter}, {group, pbc}]},
+ %% {read_repairs, [{type, meter}, {group, node}]},
+ %% {read_repairs_total, [{type, counter}, {group, node}]},
+ %% {coord_redirs_total, [{type, counter}, {group, node}]},
+ %% {mapper_count, [{type, counter}, {group, mapper},
+ %% {presentation,
+ %% [{legacy, {display_name, executing_mappers}}]}]},
+ %% {precommit_fail, [{type, counter}, {group, node}]},
+ %% {postcommit_fail, [{type, counter}, {group, node}]}
+ %% ].
%% @spec get_stats() -> proplist()
%% @doc Get the current aggregation of stats.

0 comments on commit 9dd6148

Please sign in to comment.