Update mongodb readme

This commit is contained in:
Daniel Nelson 2019-01-10 14:34:19 -08:00
parent e20ba1e2b6
commit ccfd9ca522
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 46 additions and 24 deletions

View File

@ -47,39 +47,39 @@ Error in input [mongodb]: not authorized on admin to execute command { serverSta
- fields: - fields:
- active_reads (integer) - active_reads (integer)
- active_writes (integer) - active_writes (integer)
- commands_per_sec (integer) - commands (integer)
- connections_current (integer) - connections_current (integer)
- connections_available (integer) - connections_available (integer)
- connections_total_created (integer) - connections_total_created (integer)
- cursor_timed_out (integer) - cursor_timed_out_count (integer)
- cursor_no_timeout (integer) - cursor_no_timeout_count (integer)
- cursor_pinned (integer) - cursor_pinned_count (integer)
- cursor_total (integer) - cursor_total_count (integer)
- deletes_per_sec (integer) - deletes (integer)
- document_deleted (integer) - document_deleted (integer)
- document_inserted (integer) - document_inserted (integer)
- document_returned (integer) - document_returned (integer)
- document_updated (integer) - document_updated (integer)
- flushes_per_sec (integer) - flushes (integer)
- getmores_per_sec (integer) - getmores (integer)
- inserts_per_sec (integer) - inserts (integer
- jumbo_chunks (integer) - jumbo_chunks (integer)
- member_status (string) - member_status (string)
- net_in_bytes (integer) - net_in_bytes_count (integer)
- net_out_bytes (integer) - net_out_bytes_count (integer)
- open_connections (integer) - open_connections (integer)
- percent_cache_dirty (float) - percent_cache_dirty (float)
- percent_cache_used (float) - percent_cache_used (float)
- queries_per_sec (integer) - queries (integer)
- queued_reads (integer) - queued_reads (integer)
- queued_writes (integer) - queued_writes (integer)
- repl_commands_per_sec (integer) - repl_commands (integer)
- repl_deletes_per_sec (integer) - repl_deletes (integer)
- repl_getmores_per_sec (integer) - repl_getmores (integer)
- repl_inserts_per_sec (integer) - repl_inserts (integer)
- repl_lag (integer) - repl_lag (integer)
- repl_queries_per_sec (integer) - repl_queries (integer)
- repl_updates_per_sec (integer) - repl_updates (integer)
- repl_oplog_window_sec (integer) - repl_oplog_window_sec (integer)
- resident_megabytes (integer) - resident_megabytes (integer)
- state (string) - state (string)
@ -87,9 +87,9 @@ Error in input [mongodb]: not authorized on admin to execute command { serverSta
- total_created (integer) - total_created (integer)
- total_in_use (integer) - total_in_use (integer)
- total_refreshing (integer) - total_refreshing (integer)
- ttl_deletes_per_sec (integer) - ttl_deletes (integer)
- ttl_passes_per_sec (integer) - ttl_passes (integer)
- updates_per_sec (integer) - updates (integer)
- vsize_megabytes (integer) - vsize_megabytes (integer)
- wtcache_app_threads_page_read_count (integer) - wtcache_app_threads_page_read_count (integer)
- wtcache_app_threads_page_read_time (integer) - wtcache_app_threads_page_read_time (integer)
@ -103,8 +103,29 @@ Error in input [mongodb]: not authorized on admin to execute command { serverSta
- wtcache_server_evicting_pages (integer) - wtcache_server_evicting_pages (integer)
- wtcache_tracked_dirty_bytes (integer) - wtcache_tracked_dirty_bytes (integer)
- wtcache_worker_thread_evictingpages (integer) - wtcache_worker_thread_evictingpages (integer)
- commands_per_sec (integer, deprecated in 1.10; use `commands`))
- cursor_no_timeout (integer, opened/sec, deprecated in 1.10; use `cursor_no_timeout_count`))
- cursor_pinned (integer, opened/sec, deprecated in 1.10; use `cursor_pinned_count`))
- cursor_timed_out (integer, opened/sec, deprecated in 1.10; use `cursor_timed_out_count`))
- cursor_total (integer, opened/sec, deprecated in 1.10; use `cursor_total_count`))
- deletes_per_sec (integer, deprecated in 1.10; use `deletes`))
- flushes_per_sec (integer, deprecated in 1.10; use `flushes`))
- getmores_per_sec (integer, deprecated in 1.10; use `getmores`))
- inserts_per_sec (integer, deprecated in 1.10; use `inserts`))
- net_in_bytes (integer, bytes/sec, deprecated in 1.10; use `net_out_bytes_count`))
- net_out_bytes (integer, bytes/sec, deprecated in 1.10; use `net_out_bytes_count`))
- queries_per_sec (integer, deprecated in 1.10; use `queries`))
- repl_commands_per_sec (integer, deprecated in 1.10; use `repl_commands`))
- repl_deletes_per_sec (integer, deprecated in 1.10; use `repl_deletes`)
- repl_getmores_per_sec (integer, deprecated in 1.10; use `repl_getmores`)
- repl_inserts_per_sec (integer, deprecated in 1.10; use `repl_inserts`))
- repl_queries_per_sec (integer, deprecated in 1.10; use `repl_queries`))
- repl_updates_per_sec (integer, deprecated in 1.10; use `repl_updates`))
- ttl_deletes_per_sec (integer, deprecated in 1.10; use `ttl_deltes`))
- ttl_passes_per_sec (integer, deprecated in 1.10; use `ttl_passes`))
- updates_per_sec (integer, deprecated in 1.10; use `updates`))
- mongodb_db_stats + mongodb_db_stats
- tags: - tags:
- db_name - db_name
- hostname - hostname
@ -131,7 +152,8 @@ Error in input [mongodb]: not authorized on admin to execute command { serverSta
### Example Output: ### Example Output:
``` ```
mongodb,hostname=127.0.0.1:27017 active_reads=0i,active_writes=0i,commands_per_sec=6i,cursor_no_timeout=0i,cursor_pinned=0i,cursor_timed_out=0i,cursor_total=0i,deletes_per_sec=0i,flushes_per_sec=0i,getmores_per_sec=1i,inserts_per_sec=0i,jumbo_chunks=0i,member_status="PRI",net_in_bytes=851i,net_out_bytes=23904i,open_connections=6i,percent_cache_dirty=0,percent_cache_used=0,queries_per_sec=2i,queued_reads=0i,queued_writes=0i,repl_commands_per_sec=0i,repl_deletes_per_sec=0i,repl_getmores_per_sec=0i,repl_inserts_per_sec=0i,repl_lag=0i,repl_queries_per_sec=0i,repl_updates_per_sec=0i,resident_megabytes=67i,state="PRIMARY",total_available=0i,total_created=0i,total_in_use=0i,total_refreshing=0i,ttl_deletes_per_sec=0i,ttl_passes_per_sec=0i,updates_per_sec=0i,vsize_megabytes=729i,wtcache_app_threads_page_read_count=4i,wtcache_app_threads_page_read_time=18i,wtcache_app_threads_page_write_count=6i,wtcache_bytes_read_into=10075i,wtcache_bytes_written_from=115711i,wtcache_current_bytes=86038i,wtcache_max_bytes_configured=1073741824i,wtcache_pages_evicted_by_app_thread=0i,wtcache_pages_queued_for_eviction=0i,wtcache_server_evicting_pages=0i,wtcache_tracked_dirty_bytes=0i,wtcache_worker_thread_evictingpages=0i 1522798796000000000 mongodb,hostname=127.0.0.1:27017 active_reads=0i,active_writes=0i,commands=1335i,commands_per_sec=7i,connections_available=814i,connections_current=5i,connections_total_created=0i,cursor_no_timeout=0i,cursor_no_timeout_count=0i,cursor_pinned=0i,cursor_pinned_count=1i,cursor_timed_out=0i,cursor_timed_out_count=0i,cursor_total=0i,cursor_total_count=1i,deletes=0i,deletes_per_sec=0i,document_deleted=0i,document_inserted=0i,document_returned=13i,document_updated=0i,flushes=5i,flushes_per_sec=0i,getmores=269i,getmores_per_sec=0i,inserts=0i,inserts_per_sec=0i,jumbo_chunks=0i,member_status="PRI",net_in_bytes=986i,net_in_bytes_count=358006i,net_out_bytes=23906i,net_out_bytes_count=661507i,open_connections=5i,percent_cache_dirty=0,percent_cache_used=0,queries=18i,queries_per_sec=3i,queued_reads=0i,queued_writes=0i,repl_commands=0i,repl_commands_per_sec=0i,repl_deletes=0i,repl_deletes_per_sec=0i,repl_getmores=0i,repl_getmores_per_sec=0i,repl_inserts=0i,repl_inserts_per_sec=0i,repl_lag=0i,repl_oplog_window_sec=24355215i,repl_queries=0i,repl_queries_per_sec=0i,repl_updates=0i,repl_updates_per_sec=0i,resident_megabytes=62i,state="PRIMARY",total_available=0i,total_created=0i,total_in_use=0i,total_refreshing=0i,ttl_deletes=0i,ttl_deletes_per_sec=0i,ttl_passes=23i,ttl_passes_per_sec=0i,updates=0i,updates_per_sec=0i,vsize_megabytes=713i,wtcache_app_threads_page_read_count=13i,wtcache_app_threads_page_read_time=74i,wtcache_app_threads_page_write_count=0i,wtcache_bytes_read_into=55271i,wtcache_bytes_written_from=125402i,wtcache_current_bytes=117050i,wtcache_max_bytes_configured=1073741824i,wtcache_pages_evicted_by_app_thread=0i,wtcache_pages_queued_for_eviction=0i,wtcache_server_evicting_pages=0i,wtcache_tracked_dirty_bytes=0i,wtcache_worker_thread_evictingpages=0i 1547159491000000000
mongodb_db_stats,db_name=local,hostname=127.0.0.1:27017 avg_obj_size=818.625,collections=5i,data_size=6549i,index_size=86016i,indexes=4i,num_extents=0i,objects=8i,ok=1i,storage_size=118784i,type="db_stat" 1522799074000000000 mongodb_db_stats,db_name=admin,hostname=127.0.0.1:27017 avg_obj_size=241,collections=2i,data_size=723i,index_size=49152i,indexes=3i,num_extents=0i,objects=3i,ok=1i,storage_size=53248i,type="db_stat" 1547159491000000000
mongodb_db_stats,db_name=local,hostname=127.0.0.1:27017 avg_obj_size=813.9705882352941,collections=6i,data_size=55350i,index_size=102400i,indexes=5i,num_extents=0i,objects=68i,ok=1i,storage_size=204800i,type="db_stat" 1547159491000000000
mongodb_shard_stats,hostname=127.0.0.1:27017,in_use=3i,available=3i,created=4i,refreshing=0i 1522799074000000000 mongodb_shard_stats,hostname=127.0.0.1:27017,in_use=3i,available=3i,created=4i,refreshing=0i 1522799074000000000
``` ```