prometheus_flask_exporter
prometheus_flask_exporter copied to clipboard
Multiprocess application sometimes throwing UnicodeDecodeError
Hi I have multiprocess enabled application, sometimes it is throwing below error File "usr/local/lib/python3.8/site-packages/prometheus_client/mmap_dict.py", line 44, in _read_all_values yield encoded_key.decode('utf-8'), value, pos UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf0 in position 18: invalid continuation byte.
After this error my application is crashed. Can someone please help me on this?
As this is coming from the prometheus_client
package, I'd ask there first, if you haven't done so already.