You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently upgraded from 0.16.0 to 0.19.0 (to get the mostrecent addition in #967) and are running into the following error when calling generate_latest() after restarting our server:
File "python3.10/site-packages/prometheus_client/exposition.py", line 251, in generate_latest
for metric in registry.collect():
File "python3.10/site-packages/prometheus_client/registry.py", line 97, in collect
yield from collector.collect()
File "python3.10/site-packages/prometheus_client/multiprocess.py", line 158, in collect
return self.merge(files, accumulate=True)
File "python3.10/site-packages/prometheus_client/multiprocess.py", line 43, in merge
metrics = MultiProcessCollector._read_metrics(files)
File "python3.10/site-packages/prometheus_client/multiprocess.py", line 71, in _read_metrics
for key, value, timestamp, _ in file_values:
File "python3.10/site-packages/prometheus_client/mmap_dict.py", line 40, in _read_all_values
raise RuntimeError('Read beyond file size detected, file is corrupted.')
RuntimeError: Read beyond file size detected, file is corrupted.
The text was updated successfully, but these errors were encountered:
Ah yes disregard -- we had our multiprocess DB files lying around and they had been written to by both versions. This was only a problem for us in local dev because we don't wipe the multiprocess dir, but we might do that going forward.
Apologies for the noise! We love the mostrecent new mode :)
We recently upgraded from 0.16.0 to 0.19.0 (to get the
mostrecent
addition in #967) and are running into the following error when callinggenerate_latest()
after restarting our server:The text was updated successfully, but these errors were encountered: