Created
January 31, 2017 15:09
-
-
Save ieb/f8740ece1516ad76102004ebc7d03382 to your computer and use it in GitHub Desktop.
Modified Ganglia MongoDB WT configuration.
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
modules { | |
module { | |
name = "mongodb" | |
language = "python" | |
param server_status { | |
value = "mongo --quiet --eval 'printjson(db.serverStatus())'" | |
} | |
param rs_status { | |
value = "mongo --quiet --eval 'printjson(rs.status())'" | |
} | |
param nodes_root_doc_status { | |
value = "mongo aem-author --quiet --eval 'Object.bsonsize(db.nodes.findOne({\"_id\" : \"0:/\"}))'" | |
} | |
} | |
} | |
collection_group { | |
collect_every = 30 | |
time_threshold = 90 | |
metric { | |
name = "mongodb_opcounters_insert" | |
title = "Inserts" | |
} | |
metric { | |
name = "mongodb_opcounters_query" | |
title = "Queries" | |
} | |
metric { | |
name = "mongodb_opcounters_update" | |
title = "Updates" | |
} | |
metric { | |
name = "mongodb_opcounters_delete" | |
title = "Deletes" | |
} | |
metric { | |
name = "mongodb_opcounters_getmore" | |
title = "Getmores" | |
} | |
metric { | |
name = "mongodb_opcounters_command" | |
title = "Commands" | |
} | |
metric { | |
name = "mongodb_mem_virtual" | |
title = "Process Virtual Size" | |
} | |
metric { | |
name = "mongodb_mem_resident" | |
title = "Process Resident Size" | |
} | |
metric { | |
name = "mongodb_extra_info_page_faults" | |
title = "Page Faults" | |
} | |
metric { | |
name = "mongodb_globalLock_ratio" | |
title = "Global Write Lock Ratio" | |
} | |
metric { | |
name = "mongodb_globalLock_currentQueue_total" | |
title = "Total Operations Waiting for Lock" | |
} | |
metric { | |
name = "mongodb_globalLock_currentQueue_readers" | |
title = "Readers Waiting for Lock" | |
} | |
metric { | |
name = "mongodb_globalLock_currentQueue_writers" | |
title = "Writers Waiting for Lock" | |
} | |
metric { | |
name = "mongodb_globalLock_activeClients_total" | |
title = "Total Active Clients" | |
} | |
metric { | |
name = "mongodb_globalLock_activeClients_readers" | |
title = "Active Readers" | |
} | |
metric { | |
name = "mongodb_globalLock_activeClients_writers" | |
title = "Active Writers" | |
} | |
metric { | |
name = "mongodb_connections_current" | |
title = "Open Connections" | |
} | |
metric { | |
name = "mongodb_connections_current_ratio" | |
title = "Open Connections" | |
} | |
metric { | |
name = "mongodb_slave_delay" | |
title = "Replica Set Slave Delay" | |
} | |
metric { | |
name = "mongodb_asserts_total" | |
title = "Asserts per Second" | |
} | |
metric { | |
name = "mongodb_nodes_root_doc_size" | |
title = "Nodes root doc size" | |
} | |
metric { | |
name = "mongodb_locks_Global_timeAcquiringMicros" | |
title = "Locks Global Timer Aquiring micros" | |
} | |
metric { | |
name = "mongodb_locks_Database_timeAcquiringMicros_r" | |
title = "Locks Database Timer Aquiring micros r" | |
} | |
metric { | |
name = "mongodb_locks_Database_timeAcquiringMicros_w" | |
title = "Locks Database Timer Aquiring micros w" | |
} | |
metric { | |
name = "mongodb_locks_Database_timeAcquiringMicros_R" | |
title = "Locks Database Timer Aquiring micros R" | |
} | |
metric { | |
name = "mongodb_locks_Database_timeAcquiringMicros_W" | |
title = "Locks Database Timer Aquiring micros W" | |
} | |
metric { | |
name = "mongodb_locks_Database_timeAcquiringMicros_W" | |
title = "Locks Database Timer Aquiring micros W" | |
} | |
metric { | |
name = "mongodb_locks_Metadata_timeAcquiringMicros_W" | |
title = "Locks Metadata Timer Aquiring micros W" | |
} | |
metric { | |
name = "mongodb_extra_info_heap_usage_bytes" | |
title = "Heap usage" | |
} | |
metric { | |
name = "mongodb_extra_info_page_faults" | |
title = "Page Faults rate" | |
} | |
metric { | |
name = "mongodb_wiredTiger_cache_pages read into cache" | |
title = "WT Pages read into cache rate" | |
} | |
metric { | |
name = "mongodb_wiredTiger_cache_pages written from cache" | |
title = "WT Pages writen from cache rate" | |
} | |
metric { | |
name = "mongodb_wiredTiger_cache_bytes read into cache" | |
title = "WT Bytes Read rate" | |
} | |
metric { | |
name = "mongodb_wiredTiger_cache_bytes written from cache" | |
title = "WT Bytes Write rate" | |
} | |
metric { | |
name = "mongodb_wiredTiger_concurrentTransactions_read_available" | |
title = "WT Read Tickets available" | |
} | |
metric { | |
name = "mongodb_wiredTiger_concurrentTransactions_write_available" | |
title = "WT Write Tickets available" | |
} | |
metric { | |
name = "mongodb_wiredTiger_cache_dirty_percent" | |
title = "WT % Cache Bytes Dirty" | |
} | |
metric { | |
name = "mongodb_wiredTiger_cache_transaction checkpoint most recent time" | |
title = "WT Checkpoint create time" | |
} | |
metric { | |
name = "mongodb_metrics_document_updated" | |
title = "Document update rate" | |
} | |
metric { | |
name = "mongodb_metrics_document_inserted" | |
title = "Document insert rate" | |
} | |
metric { | |
name = "mongodb_metrics_document_returned" | |
title = "Document returned rate" | |
} | |
metric { | |
name = "mongodb_metrics_getLastError_wtime_num" | |
title = "getLastError rate" | |
} | |
metric { | |
name = "mongodb_metrics_getLastError_wtime_totalMillis" | |
title = "getLastError time rate" | |
} | |
metric { | |
name = "mongodb_metrics_getLastError_wtimeouts" | |
title = "getLastError timeout rate" | |
} | |
metric { | |
name = "mongodb_metrics_operation_scanAndOrder" | |
title = "Scan and Order rate" | |
} | |
metric { | |
name = "mongodb_metrics_operation_writeConflicts" | |
title = "Write Conflict rate" | |
} | |
metric { | |
name = "mongodb_metrics_queryExecutor_scanned" | |
title = "Scan rate" | |
} | |
metric { | |
name = "mongodb_metrics_queryExecutor_scannedObjects" | |
title = "Scaned Objects rate" | |
} | |
metric { | |
name = "mongodb_metrics_repl_buffer_count" | |
title = "Replication Buffer Count" | |
} | |
metric { | |
name = "mongodb_metrics_repl_oplog_insert_num" | |
title = "Oplog insertion rate" | |
} | |
metric { | |
name = "mongodb_metrics_repl_oplog_insert_totalMillis" | |
title = "Insertion time" | |
} | |
metric { | |
name = "mongodb_metrics_cursor_timedOut" | |
title = "Timedout rate" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment