mongo_ops configurable graph_category
This commit is contained in:
parent
4168c1647b
commit
a9313615c8
|
@ -68,9 +68,9 @@ def doConfig():
|
|||
graph_title MongoDB ops
|
||||
graph_args --base 1000 -l 0
|
||||
graph_vlabel ops / ${graph_period}
|
||||
graph_category db
|
||||
graph_category %s
|
||||
graph_total total
|
||||
""")
|
||||
""" % os.getenv('graph_category', 'db'))
|
||||
|
||||
for k in getServerStatus()["opcounters"]:
|
||||
print(k + ".label " + k)
|
||||
|
|
Loading…
Reference in New Issue