Created
August 6, 2014 21:52
-
-
Save jburwell/8f31e301cdea12f8fe1b to your computer and use it in GitHub Desktop.
Missing Exometer Stats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"object_merge":0,"object_merge_total":0,"object_map_merge":0,"object_map_merge_total":0,"object_merge_time_mean":0,"object_merge_time_median":0,"object_merge_time_95":0,"object_merge_time_99":0,"object_merge_time_100":0,"vnode_map_update_time_mean":0,"vnode_map_update_time_median":0,"vnode_map_update_time_95":0,"vnode_map_update_time_99":0,"vnode_map_update_time_100":0,"vnode_gets":2099433,"vnode_gets_total":61899662,"vnode_puts":298254,"vnode_puts_total":8815441,"vnode_index_reads":0,"vnode_index_reads_total":0,"vnode_index_refreshes":0,"vnode_index_refreshes_total":0,"vnode_index_writes":0,"vnode_index_writes_total":0,"vnode_index_writes_postings":0,"vnode_index_writes_postings_total":0,"vnode_index_deletes":0,"vnode_index_deletes_total":0,"vnode_index_deletes_postings":0,"vnode_index_deletes_postings_total":0,"object_map_merge_time_mean":0,"object_map_merge_time_median":0,"object_map_merge_time_95":0,"object_map_merge_time_99":0,"object_map_merge_time_100":0,"node_gets":699813,"node_gets_total":20633221,"node_get_fsm_siblings_mean":1,"node_get_fsm_siblings_median":1,"node_get_fsm_siblings_95":1,"node_get_fsm_siblings_99":1,"node_get_fsm_siblings_100":1,"node_get_fsm_set_siblings_mean":0,"node_get_fsm_set_siblings_median":0,"node_get_fsm_set_siblings_95":0,"node_get_fsm_set_siblings_99":0,"node_get_fsm_set_siblings_100":0,"node_get_fsm_objsize_mean":1118,"node_get_fsm_objsize_median":1118,"node_get_fsm_objsize_95":1118,"node_get_fsm_objsize_99":1118,"node_get_fsm_objsize_100":1118,"node_get_fsm_set_objsize_mean":0,"node_get_fsm_set_objsize_median":0,"node_get_fsm_set_objsize_95":0,"node_get_fsm_set_objsize_99":0,"node_get_fsm_set_objsize_100":0,"node_get_fsm_time_mean":2361,"node_get_fsm_time_median":2215,"node_get_fsm_time_95":3821,"node_get_fsm_time_99":5589,"node_get_fsm_time_100":41013,"node_get_fsm_map_siblings_mean":0,"node_get_fsm_map_siblings_median":0,"node_get_fsm_map_siblings_95":0,"node_get_fsm_map_siblings_99":0,"node_get_fsm_map_siblings_100":0,"node_get_fsm_map_objsize_mean":0,"node_get_fsm_map_objsize_median":0,"node_get_fsm_map_objsize_95":0,"node_get_fsm_map_objsize_99":0,"node_get_fsm_map_objsize_100":0,"node_get_fsm_map_time_mean":0,"node_get_fsm_map_time_median":0,"node_get_fsm_map_time_95":0,"node_get_fsm_map_time_99":0,"node_get_fsm_map_time_100":0,"node_get_fsm_set_time_mean":0,"node_get_fsm_set_time_median":0,"node_get_fsm_set_time_95":0,"node_get_fsm_set_time_99":0,"node_get_fsm_set_time_100":0,"node_gets_set":0,"node_gets_set_total":0,"node_puts":99402,"node_puts_total":2938483,"node_put_fsm_time_mean":5246,"node_put_fsm_time_median":4924,"node_put_fsm_time_95":8376,"node_put_fsm_time_99":12281,"node_put_fsm_time_100":73008,"node_get_fsm_counter_objsize_mean":0,"node_get_fsm_counter_objsize_median":0,"node_get_fsm_counter_objsize_95":0,"node_get_fsm_counter_objsize_99":0,"node_get_fsm_counter_objsize_100":0,"read_repairs":0,"read_repairs_total":0,"node_gets_counter":0,"node_gets_counter_total":0,"node_get_fsm_counter_siblings_mean":0,"node_get_fsm_counter_siblings_median":0,"node_get_fsm_counter_siblings_95":0,"node_get_fsm_counter_siblings_99":0,"node_get_fsm_counter_siblings_100":0,"node_get_fsm_counter_time_mean":0,"node_get_fsm_counter_time_median":0,"node_get_fsm_counter_time_95":0,"node_get_fsm_counter_time_99":0,"node_get_fsm_counter_time_100":0,"coord_redirs_total":0,"executing_mappers":0,"object_counter_merge":0,"object_counter_merge_total":0,"object_counter_merge_time_mean":0,"object_counter_merge_time_median":0,"object_counter_merge_time_95":0,"object_counter_merge_time_99":0,"object_counter_merge_time_100":0,"object_set_merge":0,"object_set_merge_total":0,"object_set_merge_time_mean":0,"object_set_merge_time_median":0,"object_set_merge_time_95":0,"object_set_merge_time_99":0,"object_set_merge_time_100":0,"precommit_fail":0,"postcommit_fail":0,"index_fsm_create":0,"index_fsm_create_error":0,"index_fsm_active":0,"list_fsm_active":0,"list_fsm_error":0,"pbc_active":0,"pbc_connects":0,"pbc_connects_total":1400,"node_get_fsm_active":370,"node_get_fsm_rejected":0,"node_get_fsm_in_rate":11999,"node_get_fsm_out_rate":11996,"node_get_fsm_active_60s":709026,"node_get_fsm_rejected_60s":0,"node_get_fsm_rejected_total":0,"node_put_fsm_active":11,"node_put_fsm_rejected":0,"node_put_fsm_in_rate":1616,"node_put_fsm_out_rate":1625,"node_put_fsm_active_60s":100174,"node_put_fsm_rejected_60s":0,"node_put_fsm_rejected_total":0,"node_put_fsm_counter_time_mean":0,"node_put_fsm_counter_time_median":0,"node_put_fsm_counter_time_95":0,"node_put_fsm_counter_time_99":0,"node_put_fsm_counter_time_100":0,"node_put_fsm_set_time_mean":0,"node_put_fsm_set_time_median":0,"node_put_fsm_set_time_95":0,"node_put_fsm_set_time_99":0,"node_put_fsm_set_time_100":0,"node_puts_counter":0,"node_puts_counter_total":0,"node_puts_set":0,"node_puts_set_total":0,"node_gets_map":0,"node_gets_map_total":0,"read_repairs_counter":0,"read_repairs_counter_total":0,"node_puts_map":0,"node_puts_map_total":0,"node_put_fsm_map_time_mean":0,"node_put_fsm_map_time_median":0,"node_put_fsm_map_time_95":0,"node_put_fsm_map_time_99":0,"node_put_fsm_map_time_100":0,"read_repairs_set":0,"read_repairs_set_total":0,"read_repairs_map":0,"read_repairs_map_total":0,"list_fsm_create":0,"list_fsm_create_total":0,"list_fsm_create_error":0,"list_fsm_create_error_total":0,"counter_actor_counts_mean":0,"counter_actor_counts_median":0,"counter_actor_counts_95":0,"counter_actor_counts_99":0,"counter_actor_counts_100":0,"set_actor_counts_mean":0,"set_actor_counts_median":0,"set_actor_counts_95":0,"set_actor_counts_99":0,"set_actor_counts_100":0,"map_actor_counts_mean":0,"map_actor_counts_median":0,"map_actor_counts_95":0,"map_actor_counts_99":0,"map_actor_counts_100":0,"late_put_fsm_coordinator_ack":0,"vnode_counter_update":0,"vnode_counter_update_total":0,"vnode_counter_update_time_mean":0,"vnode_counter_update_time_median":0,"vnode_counter_update_time_95":0,"vnode_counter_update_time_99":0,"vnode_counter_update_time_100":0,"vnode_map_update":0,"vnode_map_update_total":0,"vnode_set_update":0,"vnode_set_update_total":0,"vnode_set_update_time_mean":0,"vnode_set_update_time_median":0,"vnode_set_update_time_median":0,"vnode_set_update_time_95":0,"vnode_set_update_time_99":0,"vnode_set_update_time_100":0,"ring_members":["[email protected]"],"ring_num_partitions":32,"ring_ownership":"[{'[email protected]',32}]","ring_ownership":"[{'[email protected]',32}]","ring_creation_size":0,"storage_backend":0,"cpu_nprocs":357,"cpu_avg1":3034,"cpu_avg5":1964,"cpu_avg15":1318,"pipeline_create_count":0,"pipeline_create_one":0,"pipeline_create_error_count":0,"pipeline_create_error_one":0,"pipeline_active":0,"mem_total":6226141184,"mem_allocated":4763037696,"nodename":"[email protected]","connected_nodes":[],"sys_driver_version":"2.2","sys_global_heaps_size":"deprecated","sys_heap_type":"private","sys_logical_processors":12,"sys_monitor_count":428,"sys_otp_release":"R16B02-basho5","sys_port_count":33,"sys_process_count":1111,"sys_smp_support":true,"sys_system_version":"Erlang R16B02-basho5 (erts-5.10.3) [source] [64-bit] [smp:12:12] [async-threads:64] [kernel-poll:true]","sys_system_architecture":"x86_64-unknown-linux-gnu","sys_threads_enabled":true,"sys_thread_pool_size":64,"sys_wordsize":8,"riak_auth_mods_version":"2.0.0rc1","erlydtl_version":"0.7.0","afunix_version":"8ce4763","riak_control_version":"2.0.0rc1-1-g69471cd","cluster_info_version":"2.0.0rc1","yokozuna_version":"2.0.0rc1-1-g2e1944c","ibrowse_version":"4.0.1","riak_search_version":"2.0.0rc1-2-g7f64b13","merge_index_version":"2.0.0rc1","riak_kv_version":"2.0.0beta1-176-gbfa1f66","riak_api_version":"2.0.0rc1-2-g49f8853","riak_pb_version":"2.0.0.16","protobuffs_version":"0.8.1p4","riak_dt_version":"2.0.0rc1","sidejob_version":"2.0.0rc1","riak_pipe_version":"2.0.0rc1-3-g1c71861","riak_core_version":"2.0.0rc1-2-g186fe50","exometer_version":"0.5.3-177-g6d96371","poolboy_version":"0.8.1p2","pbkdf2_version":"2.0.0","eleveldb_version":"2.0.0rc1","bitcask_version":"1.7.0","basho_stats_version":"1.0.3","webmachine_version":"1.10.5","mochiweb_version":"1.5.1p6","inets_version":"5.9.6","erlang_js_version":"1.3.0","runtime_tools_version":"1.8.12","os_mon_version":"2.2.13","riak_sysmon_version":"2.0.0","ssl_version":"5.3.1","public_key_version":"0.20","crypto_version":"3.1","asn1_version":"2.0.3","sasl_version":"2.3.3","lager_version":"2.0.3","goldrush_version":"0.1.6","compiler_version":"4.9.3","syntax_tools_version":"1.6.11","stdlib_version":"1.19.3","kernel_version":"2.16.3","memory_total":433608432,"memory_processes":394146120,"memory_processes_used":392900208,"memory_system":39462312,"memory_atom":594537,"memory_atom_used":561905,"memory_binary":2282624,"memory_code":14228155,"memory_ets":6953552,"disk":[{"id":"/","size":926068344,"used":15},{"id":"/dev","size":3031032,"used":1},{"id":"/run","size":608024,"used":1},{"id":"/run/lock","size":5120,"used":0},{"id":"/run/shm","size":3040108,"used":0},{"id":"/boot","size":240972,"used":83}],"ignored_gossip_total":0,"rings_reconciled_total":0,"rings_reconciled":0,"gossip_received":0,"rejected_handoffs":0,"handoff_timeouts":0,"dropped_vnode_requests_total":0,"converge_delay_mean":0,"converge_delay_min":0,"converge_delay_max":0,"converge_delay_last":0,"rebalance_delay_min":0,"rebalance_delay_max":0,"rebalance_delay_mean":0,"rebalance_delay_last":0,"riak_kv_vnodes_running":32,"riak_kv_vnodeq_min":0,"riak_kv_vnodeq_median":0,"riak_kv_vnodeq_mean":0,"riak_kv_vnodeq_max":0,"riak_kv_vnodeq_total":0,"riak_pipe_vnodes_running":32,"riak_pipe_vnodeq_min":0,"riak_pipe_vnodeq_median":0,"riak_pipe_vnodeq_mean":0,"riak_pipe_vnodeq_max":0,"riak_pipe_vnodeq_total":0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"riak_kv_stat_ts":1407354034,"vnode_gets":2105340,"vnode_gets_total":10550593,"vnode_puts":298687,"vnode_puts_total":1502773,"vnode_index_refreshes":0,"vnode_index_refreshes_total":0,"vnode_index_reads":0,"vnode_index_reads_total":0,"vnode_index_writes":0,"vnode_index_writes_total":0,"vnode_index_writes_postings":0,"vnode_index_writes_postings_total":0,"vnode_index_deletes":0,"vnode_index_deletes_total":0,"vnode_index_deletes_postings":0,"vnode_index_deletes_postings_total":0,"object_counter_merge":0,"object_counter_merge_total":0,"object_counter_merge_time_mean":0,"object_counter_merge_time_median":0,"object_counter_merge_time_95":0,"object_counter_merge_time_99":0,"object_counter_merge_time_100":0,"vnode_counter_update":0,"vnode_counter_update_total":0,"vnode_counter_update_time_mean":0,"vnode_counter_update_time_median":0,"vnode_counter_update_time_95":0,"vnode_counter_update_time_99":0,"vnode_counter_update_time_100":0,"object_set_merge":0,"object_set_merge_total":0,"object_set_merge_time_mean":0,"object_set_merge_time_median":0,"object_set_merge_time_95":0,"object_set_merge_time_99":0,"object_set_merge_time_100":0,"vnode_set_update":0,"vnode_set_update_total":0,"vnode_set_update_time_mean":0,"vnode_set_update_time_median":0,"vnode_set_update_time_95":0,"vnode_set_update_time_99":0,"vnode_set_update_time_100":0,"object_map_merge":0,"object_map_merge_total":0,"object_map_merge_time_mean":0,"object_map_merge_time_median":0,"object_map_merge_time_95":0,"object_map_merge_time_99":0,"object_map_merge_time_100":0,"object_merge":0,"object_merge_total":0,"object_merge_time_mean":0,"object_merge_time_median":0,"object_merge_time_95":0,"object_merge_time_99":0,"object_merge_time_100":0,"vnode_map_update":0,"vnode_map_update_total":0,"vnode_map_update_time_mean":0,"vnode_map_update_time_median":0,"vnode_map_update_time_95":0,"vnode_map_update_time_99":0,"vnode_map_update_time_100":0,"node_gets":702053,"node_gets_total":3517126,"node_get_fsm_siblings_mean":1,"node_get_fsm_siblings_median":1,"node_get_fsm_siblings_95":1,"node_get_fsm_siblings_99":1,"node_get_fsm_siblings_100":1,"node_get_fsm_objsize_mean":1118,"node_get_fsm_objsize_median":1118,"node_get_fsm_objsize_95":1118,"node_get_fsm_objsize_99":1118,"node_get_fsm_objsize_100":1118,"node_get_fsm_time_mean":2344,"node_get_fsm_time_median":2128,"node_get_fsm_time_95":4239,"node_get_fsm_time_99":5974,"node_get_fsm_time_100":37001,"node_gets_counter":0,"node_gets_counter_total":0,"node_get_fsm_counter_siblings_mean":0,"node_get_fsm_counter_siblings_median":0,"node_get_fsm_counter_siblings_95":0,"node_get_fsm_counter_siblings_99":0,"node_get_fsm_counter_siblings_100":0,"node_get_fsm_counter_objsize_mean":0,"node_get_fsm_counter_objsize_median":0,"node_get_fsm_counter_objsize_95":0,"node_get_fsm_counter_objsize_99":0,"node_get_fsm_counter_objsize_100":0,"node_get_fsm_counter_time_mean":0,"node_get_fsm_counter_time_median":0,"node_get_fsm_counter_time_95":0,"node_get_fsm_counter_time_99":0,"node_get_fsm_counter_time_100":0,"node_gets_set":0,"node_gets_set_total":0,"node_get_fsm_set_siblings_mean":0,"node_get_fsm_set_siblings_median":0,"node_get_fsm_set_siblings_95":0,"node_get_fsm_set_siblings_99":0,"node_get_fsm_set_siblings_100":0,"node_get_fsm_set_objsize_mean":0,"node_get_fsm_set_objsize_median":0,"node_get_fsm_set_objsize_95":0,"node_get_fsm_set_objsize_99":0,"node_get_fsm_set_objsize_100":0,"node_get_fsm_set_time_mean":0,"node_get_fsm_set_time_median":0,"node_get_fsm_set_time_95":0,"node_get_fsm_set_time_99":0,"node_get_fsm_set_time_100":0,"node_gets_map":0,"node_gets_map_total":0,"node_get_fsm_map_siblings_mean":0,"node_get_fsm_map_siblings_median":0,"node_get_fsm_map_siblings_95":0,"node_get_fsm_map_siblings_99":0,"node_get_fsm_map_siblings_100":0,"node_get_fsm_map_objsize_mean":0,"node_get_fsm_map_objsize_median":0,"node_get_fsm_map_objsize_95":0,"node_get_fsm_map_objsize_99":0,"node_get_fsm_map_objsize_100":0,"node_get_fsm_map_time_mean":0,"node_get_fsm_map_time_median":0,"node_get_fsm_map_time_95":0,"node_get_fsm_map_time_99":0,"node_get_fsm_map_time_100":0,"node_puts":99857,"node_puts_total":502779,"node_put_fsm_time_mean":5302,"node_put_fsm_time_median":4751,"node_put_fsm_time_95":9747,"node_put_fsm_time_99":13590,"node_put_fsm_time_100":98766,"node_puts_counter":0,"node_puts_counter_total":0,"node_put_fsm_counter_time_mean":0,"node_put_fsm_counter_time_median":0,"node_put_fsm_counter_time_95":0,"node_put_fsm_counter_time_99":0,"node_put_fsm_counter_time_100":0,"node_puts_set":0,"node_puts_set_total":0,"node_put_fsm_set_time_mean":0,"node_put_fsm_set_time_median":0,"node_put_fsm_set_time_95":0,"node_put_fsm_set_time_99":0,"node_put_fsm_set_time_100":0,"node_puts_map":0,"node_puts_map_total":0,"node_put_fsm_map_time_mean":0,"node_put_fsm_map_time_median":0,"node_put_fsm_map_time_95":0,"node_put_fsm_map_time_99":0,"node_put_fsm_map_time_100":0,"read_repairs":0,"read_repairs_total":0,"read_repairs_counter":0,"read_repairs_counter_total":0,"read_repairs_set":0,"read_repairs_set_total":0,"read_repairs_map":0,"read_repairs_map_total":0,"coord_redirs_total":0,"executing_mappers":0,"precommit_fail":0,"postcommit_fail":0,"index_fsm_create":0,"index_fsm_create_error":0,"index_fsm_active":0,"list_fsm_create":0,"list_fsm_create_error":0,"list_fsm_active":0,"pbc_active":200,"pbc_connects":0,"pbc_connects_total":200,"counter_actor_counts_mean":0,"counter_actor_counts_median":0,"counter_actor_counts_95":0,"counter_actor_counts_99":0,"counter_actor_counts_100":0,"set_actor_counts_mean":0,"set_actor_counts_median":0,"set_actor_counts_95":0,"set_actor_counts_99":0,"set_actor_counts_100":0,"map_actor_counts_mean":0,"map_actor_counts_median":0,"map_actor_counts_95":0,"map_actor_counts_99":0,"map_actor_counts_100":0,"late_put_fsm_coordinator_ack":0,"consistent_gets":0,"consistent_gets_total":0,"consistent_get_objsize_mean":0,"consistent_get_objsize_median":0,"consistent_get_objsize_95":0,"consistent_get_objsize_99":0,"consistent_get_objsize_100":0,"consistent_get_time_mean":0,"consistent_get_time_median":0,"consistent_get_time_95":0,"consistent_get_time_99":0,"consistent_get_time_100":0,"consistent_puts":0,"consistent_puts_total":0,"consistent_put_objsize_mean":0,"consistent_put_objsize_median":0,"consistent_put_objsize_95":0,"consistent_put_objsize_99":0,"consistent_put_objsize_100":0,"consistent_put_time_mean":0,"consistent_put_time_median":0,"consistent_put_time_95":0,"consistent_put_time_99":0,"consistent_put_time_100":0,"node_get_fsm_active":405,"node_get_fsm_active_60s":708008,"node_get_fsm_in_rate":11506,"node_get_fsm_out_rate":11477,"node_get_fsm_rejected":0,"node_get_fsm_rejected_60s":0,"node_get_fsm_rejected_total":0,"node_put_fsm_active":27,"node_put_fsm_active_60s":99345,"node_put_fsm_in_rate":1701,"node_put_fsm_out_rate":1692,"node_put_fsm_rejected":0,"node_put_fsm_rejected_60s":0,"node_put_fsm_rejected_total":0,"leveldb_read_block_error":"undefined","riak_pipe_stat_ts":1407354033,"pipeline_create_count":0,"pipeline_create_one":0,"pipeline_create_error_count":0,"pipeline_create_error_one":0,"pipeline_active":0,"cpu_nprocs":356,"cpu_avg1":3059,"cpu_avg5":2340,"cpu_avg15":1979,"mem_total":6226141184,"mem_allocated":4575395840,"nodename":"[email protected]","connected_nodes":[],"sys_driver_version":"2.2","sys_global_heaps_size":"deprecated","sys_heap_type":"private","sys_logical_processors":12,"sys_monitor_count":133,"sys_otp_release":"R16B02-basho5","sys_port_count":232,"sys_process_count":1281,"sys_smp_support":true,"sys_system_version":"Erlang R16B02-basho5 (erts-5.10.3) [source] [64-bit] [smp:12:12] [async-threads:64] [kernel-poll:true]","sys_system_architecture":"x86_64-unknown-linux-gnu","sys_threads_enabled":true,"sys_thread_pool_size":64,"sys_wordsize":8,"ring_members":["[email protected]"],"ring_num_partitions":32,"ring_ownership":"[{'[email protected]',32}]","ring_creation_size":32,"storage_backend":"riak_kv_yessir_backend","riak_auth_mods_version":"2.0.0beta1-0-g6ae36b2","erlydtl_version":"0.7.0","riak_control_version":"2.0.0beta1-6-g3fe302e","cluster_info_version":"2.0.0beta1-0-g1fae829","yokozuna_version":"2.0.0beta1-81-g47214a6","ibrowse_version":"4.0.1","riak_search_version":"2.0.0beta1-14-g535a88f","merge_index_version":"2.0.0beta1-0-gb701dde","riak_kv_version":"2.0.0beta1-175-gcdde007","riak_api_version":"2.0.0beta1-9-g8aad9cd","riak_pb_version":"2.0.0.16-0-gfc18a9b","protobuffs_version":"0.8.1p4-0-g5257dfe","riak_dt_version":"2.0.0beta2-4-gc06820d","sidejob_version":"2.0.0beta1-0-gc5aabba","riak_pipe_version":"2.0.0beta1-7-gbae5fc6","riak_core_version":"2.0.0beta1-66-gddab30a","poolboy_version":"0.8.1p2-0-g84d836a","pbkdf2_version":"2.0.0-0-g7076584","eleveldb_version":"2.0.0beta1-31-g8f1d1f6","bitcask_version":"1.7.0","basho_stats_version":"1.0.3","webmachine_version":"1.10.5-0-ge5f8233","mochiweb_version":"1.5.1p6","inets_version":"5.9.6","erlang_js_version":"1.3.0-0-g07467d8","runtime_tools_version":"1.8.12","os_mon_version":"2.2.13","riak_sysmon_version":"2.0.0","ssl_version":"5.3.1","public_key_version":"0.20","crypto_version":"3.1","asn1_version":"2.0.3","sasl_version":"2.3.3","lager_version":"2.0.3","goldrush_version":"0.1.6","compiler_version":"4.9.3","syntax_tools_version":"1.6.11","stdlib_version":"1.19.3","kernel_version":"2.16.3","memory_total":387466592,"memory_processes":13040320,"memory_processes_used":12040208,"memory_system":374426272,"memory_atom":553569,"memory_atom_used":532504,"memory_binary":1245712,"memory_code":12918123,"memory_ets":348565120,"disk":[{"id":"/","size":926068344,"used":15},{"id":"/dev","size":3031032,"used":1},{"id":"/run","size":608024,"used":1},{"id":"/run/lock","size":5120,"used":0},{"id":"/run/shm","size":3040108,"used":0},{"id":"/boot","size":240972,"used":83}],"riak_core_stat_ts":1407354034,"ignored_gossip_total":0,"rings_reconciled_total":0,"rings_reconciled":0,"gossip_received":0,"rejected_handoffs":0,"handoff_timeouts":0,"dropped_vnode_requests_total":0,"converge_delay_min":0,"converge_delay_max":0,"converge_delay_mean":0,"converge_delay_last":0,"rebalance_delay_min":0,"rebalance_delay_max":0,"rebalance_delay_mean":0,"rebalance_delay_last":0,"riak_kv_vnodes_running":32,"riak_kv_vnodeq_min":0,"riak_kv_vnodeq_median":0,"riak_kv_vnodeq_mean":0,"riak_kv_vnodeq_max":0,"riak_kv_vnodeq_total":0,"riak_pipe_vnodes_running":32,"riak_pipe_vnodeq_min":0,"riak_pipe_vnodeq_median":0,"riak_pipe_vnodeq_mean":0,"riak_pipe_vnodeq_max":0,"riak_pipe_vnodeq_total":0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import sys | |
def read_file(filename): | |
with open(filename, "r") as target: | |
return "".join(line for line in target) | |
def load_stats(sample_filename): | |
return json.loads(read_file(sample_filename)) | |
def main(): | |
folsom_stats = load_stats("folsom-sample-1.json") | |
exometer_stats = load_stats("exometer-sample-1.json") | |
stat_key_diff = set(folsom_stats.keys()).symmetric_difference(set(exometer_stats.keys())) | |
if len(stat_key_diff) == 0: | |
print "The Folsom and Exometer stats keys are equal." | |
elif len(folsom_stats.keys()) > len(exometer_stats.keys()): | |
print "The Folsom stats contain keys {keys} that are not in the Exometer stats." \ | |
.format(keys=stat_key_diff) | |
elif len(folsom_stats.keys()) < len (exometer_stats.keys()): | |
print "The Exometer stats contain keys {keys} that are not in the Folsom stats." \ | |
.format(keys=stat_key_diff) | |
if __name__ == "__main__": | |
sys.exit(main()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment