Multiprocess application sometimes throwing UnicodeDecodeError
Velan987 opened this issue · 1 comments
Velan987 commented
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?
rycus86 commented
As this is coming from the prometheus_client
package, I'd ask there first, if you haven't done so already.