Skip to content
Snippets Groups Projects
Commit df257e85 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

fix prometheus on windows, maybe

parent a2042437
No related branches found
No related tags found
2 merge requests!264Server-side metric for spent ZKAPs for Prometheus,!265Add a metric for invalid ZKAP attempts
......@@ -65,6 +65,12 @@ try:
except ImportError:
pass
# Hack around a bug in prometheus_client
def _prometheus_client_fix():
import prometheus_client.exposition
prometheus_client.exposition.FileNotFoundError = IOError
_prometheus_client_fix()
# See allmydata/storage/mutable.py
SLOT_HEADER_SIZE = 468
LEASE_TRAILER_SIZE = 4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment