Merge pull request #4002 from matrix-org/rav/pin_prometheus

Pin to prometheus_client<0.4 to avoid renaming all of our metrics
This commit is contained in:
Richard van der Hoff authored and GitHub committed 2018-10-03 17:42:08 +01:00
commit e5f080d6a7
2 files changed
+5 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
Pin to prometheus_client<0.4 to avoid renaming all of our metrics
+4 -1
View File
@@ -58,7 +58,10 @@ REQUIREMENTS = {
"msgpack-python>=0.3.0": ["msgpack"],
"phonenumbers>=8.2.0": ["phonenumbers"],
"six>=1.10": ["six"],
"prometheus_client>=0.0.18": ["prometheus_client"],
# prometheus_client 0.4.0 changed the format of counter metrics
# (cf https://github.com/matrix-org/synapse/issues/4001)
"prometheus_client>=0.0.18,<0.4.0": ["prometheus_client"],
# we use attr.s(slots), which arrived in 16.0.0
"attrs>=16.0.0": ["attr>=16.0.0"],