Skip to content
OpsMx edited this page Mar 30, 2017 · 15 revisions

OpsMx Tcollector Wiki

*Below are the observed points that we can tweek the Tcollector

  1. hbase_master.py

The hbase_master.py script can generates around 1500 metrics. If we need only some context metrics types, we can specify in habase_master.py with EXCLUDED_CONTEXTS variable. The context(Metrics type) which are specified in EXCLUDED_CONTEXTS are "excluded". The possible context metrics types given below

masterstatistics
concurrentmarksweep
rpcstatistics-33985
mapped
regionserverdynamicstatistics
par_eden_space
regionserverstatistics
cms_perm_gen
par_survivor_space
codecachemanager
cms_old_gen
code_cache
direct
rpcstatistics-33449
  1. mysql_opsmx.py

Set extend=True in opsmxconf.py(MYSQL_CONFIG Dictionary) to get more number of metrics.Check opmx_mysql metrics page for info

  1. tcollector.py

    • If the collector's datapoints are repeatedly getting same value, the tcollector.py sends the same metrics for every 5 Min regardless of COLLECTER_TIME_INTERVAL