diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2019-07-18 23:57:15 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-18 23:57:15 +1000 |
commit | 7ad1d763566eb34bd32234811aa9901d8f3668aa (patch) | |
tree | 2349489f45b024f7b5430f6405687c1c36bedc33 /synapse/metrics/resource.py | |
parent | Remove the ability to query relations when the original event was redacted. (... (diff) | |
download | synapse-7ad1d763566eb34bd32234811aa9901d8f3668aa.tar.xz |
Support Prometheus_client 0.4.0+ (#5636)
Diffstat (limited to 'synapse/metrics/resource.py')
-rw-r--r-- | synapse/metrics/resource.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/synapse/metrics/resource.py b/synapse/metrics/resource.py deleted file mode 100644 index 9789359077..0000000000 --- a/synapse/metrics/resource.py +++ /dev/null @@ -1,20 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2015, 2016 OpenMarket Ltd -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -from prometheus_client.twisted import MetricsResource - -METRICS_PREFIX = "/_synapse/metrics" - -__all__ = ["MetricsResource", "METRICS_PREFIX"] |