diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2019-09-13 02:29:55 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-13 02:29:55 +1000 |
commit | b617864cd9f81109e818bc5ae95bee317d917b72 (patch) | |
tree | 5bf6d0ee398731dc14ec73ac778ecaba98d0d3fb /synapse/metrics/_exposition.py | |
parent | Remove the cap on federation retry interval. (#6026) (diff) | |
download | synapse-b617864cd9f81109e818bc5ae95bee317d917b72.tar.xz |
Fix for structured logging tests stomping on logs (#6023)
Diffstat (limited to 'synapse/metrics/_exposition.py')
-rw-r--r-- | synapse/metrics/_exposition.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/metrics/_exposition.py b/synapse/metrics/_exposition.py index 1933ecd3e3..74d9c3ecd3 100644 --- a/synapse/metrics/_exposition.py +++ b/synapse/metrics/_exposition.py @@ -36,7 +36,9 @@ from twisted.web.resource import Resource try: from prometheus_client.samples import Sample except ImportError: - Sample = namedtuple("Sample", ["name", "labels", "value", "timestamp", "exemplar"]) + Sample = namedtuple( + "Sample", ["name", "labels", "value", "timestamp", "exemplar"] + ) # type: ignore CONTENT_TYPE_LATEST = str("text/plain; version=0.0.4; charset=utf-8") |