MeetMe / newrelic-plugin-agent

Multi-Plugin python-based Agent for NewRelic's Platform
BSD 3-Clause "New" or "Revised" License
425 stars 265 forks source link

v1.3.0 mongodb plugin some stats are not visualized by newrelic #416

Open whysthatso opened 9 years ago

whysthatso commented 9 years ago

Hey, configuration: TokuMX 2.0.0 / mongodb 2.4.10 using authentication

not visualized are: Database File Size Database Storage Size

these are the outputs of db.stats, being authenticated with the monitoring user of that database:

{
    "db" : "db_name",
    "collections" : 15,
    "objects" : 14543252,
    "avgObjSize" : 9692.663166876295,
    "dataSize" : 140962842987,
    "storageSize" : 26630164480,
    "indexes" : 24,
    "indexSize" : 768734907,
    "indexStorageSize" : 674381824,
    "ok" : 1
}

these seem to be the relevant blocks in the agent debug output:

 'Component/Database/db_name/Size[bytes]':{
               'count':1,
               'max':134432.04845619202,
               'total':134432.04845619202,
               'sum_of_squares':0,
               'min':134432.04845619202
            }

'Component/Database/db_name/File Size[bytes]':{
               'count':1,
               'max':0,
               'total':0,
               'sum_of_squares':0,
               'min':0
            }

any idea what could cause this?

zdraganov commented 8 years ago

+1 Same problem here, but without mongo authentication Mongo v3.0.6 Newrelic agent plugin v1.3.0

blackside commented 8 years ago

+1