After my django application intergrating with elastic-apm, I received some errors of apm agent. I can see them in sentry and kibana( /app/apm#/services/<my service>/errors ).
The error is:
ValueError: too many values to unpack(expected 2)
It do not happen each time of calling my application api, I have not catched the rule yet.
Kibana version: 7.6.1
Elasticsearch version: 7.6.1
APM Server version: 7.6.1
APM Agent language and version: python3 + django + elastic-apm 5.6.0
here is the error happening I find on apm board, it seems frames object has too many attributes.
I'm at a bit of a loss as to how you could be seeing this error. I've followed every code path that generates frames, and as far as I can tell it should always be a list of (frame, line_number) tuples. Somehow you're seeing a list of dictionaries, and I honestly have no idea how that could happen.
Could you give us more details on your app, how you installed the elastic-apm library, etc? I'm trying to figure out what's different about your deployment that I'm missing.
These day we thought it may be caused by too many requests . our application has about 10,000 requests per minute, and load balanced on 4 servers. APM agent is triggered on one of the servers only. So I depressed the weight of the server, but the error keeps appearing on not regular rule:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.