mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-19 00:11:47 +01:00
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:
commit
e5f080d6a7
2 changed files with 5 additions and 1 deletions
1
changelog.d/4002.misc
Normal file
1
changelog.d/4002.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Pin to prometheus_client<0.4 to avoid renaming all of our metrics
|
|
@ -58,7 +58,10 @@ REQUIREMENTS = {
|
||||||
"msgpack-python>=0.3.0": ["msgpack"],
|
"msgpack-python>=0.3.0": ["msgpack"],
|
||||||
"phonenumbers>=8.2.0": ["phonenumbers"],
|
"phonenumbers>=8.2.0": ["phonenumbers"],
|
||||||
"six>=1.10": ["six"],
|
"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
|
# we use attr.s(slots), which arrived in 16.0.0
|
||||||
"attrs>=16.0.0": ["attr>=16.0.0"],
|
"attrs>=16.0.0": ["attr>=16.0.0"],
|
||||||
|
|
Loading…
Reference in a new issue