Open wesleywu opened 3 months ago
Hello @wesleywu could you provide an example of the query so we can investigate it.
from QAN example:
{
"ns": "pdcast.track",
"op": "query",
"command": {
"find": "track",
"filter": {
"tid": {
"$in": [
{
"$numberInt": "280736241"
}
]
}
},
"projection": {
"es_key": {
"$numberInt": "1"
},
"pid": {
"$numberInt": "1"
},
"feed": {
"$numberInt": "1"
},
"tid": {
"$numberInt": "1"
}
},
"lsid": {
"id": {
"$binary": {
"base64": "U51mkw83SaKpYnUCa+S+ug==",
"subType": "04"
}
}
},
"$clusterTime": {
"clusterTime": {
"$timestamp": {
"t": 1717489979,
"i": 356
}
},
"signature": {
"hash": {
"$binary": {
"base64": "AAAAAAAAAAAAAAAAAAAAAAAAAAA=",
"subType": "00"
}
},
"keyId": {
"$numberLong": "0"
}
}
},
"$db": "pdcast",
"$readPreference": {
"mode": "secondaryPreferred"
}
}
}
sample document:
{
_id: ObjectId('579607068a41b08404b9aaaa'),
feed: 'f697b9cfff42c4729cad43f529c870274e44xxxx',
key: 'e819c0ee9ca5331a3238a87faba4ecd4fa66xxxx',
hash: 1880830089,
title: 'caesura',
url: 'http://media.merriam-webster.com/word/podcast/wd20160716.mp3',
release_date_parsed: ISODate('2016-07-16T05:00:01.000Z'),
es_key: 'f697b9cfff42c4729cad43f529c870274e449544_e819c0ee9ca5331a3238a87faba4ecd4fa66xxxx',
tid: 93970,
link: 'http://www.merriam-webster.com/word-of-the-day/caesura-2016-07-16',
description: 'Merriam-Webster's Word of the Day for July 16, 2016',
author: 'Merriam-Webster',
url_data: { 'Content-Length': '2400276', 'Content-Type': 'audio/mpeg' },
parsedDate: ISODate('2017-03-03T00:30:13.122Z'),
cover: '',
duration: 160,
parsed: 1,
size: 3100000,
url_type: 'audio/mpeg',
url_ok: true,
pid: 1011502,
dd_title_sign: Long('4716419079289417303'),
dd_desc_sign: Long('7261426517913053846'),
dd_ldesc_sign: 0
}
great, thank you
Description
I'm using PMM for monitoring MongoDB v4.4 in replica-set (no sharding) configuration. In PMM Query Analytics, select a query, then click Explain tab. Will see crash log in corresponding agent:
I have to manually restart agent to make metrics pushing working again.
Expected Results
Explain Query will not crash the agent.
Actual Results
Explain Query will not crash the agent.
Version
PMM Server v2.41.2, PMM Agent v2.41.1
Steps to reproduce
No response
Relevant logs
No response
Code of Conduct