From ae96bb492d496a8df9f119c08b25039bd2c88dfe Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Mon, 11 Nov 2019 18:06:36 +0100 Subject: [PATCH] Revert "Add OSprofiler support for Aodh client" This reverts commit fb22e9826256ef090b8ae043583fee0a4cb481fc. --- aodhclient/client.py | 2 -- requirements.txt | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/aodhclient/client.py b/aodhclient/client.py index bb2ec09..662bde9 100644 --- a/aodhclient/client.py +++ b/aodhclient/client.py @@ -12,7 +12,6 @@ from keystoneauth1 import adapter from oslo_utils import importutils -from osprofiler import web from aodhclient import exceptions @@ -30,7 +29,6 @@ class SessionClient(adapter.Adapter): # NOTE(sileht): The standard call raises errors from # keystoneauth, where we need to raise the aodhclient errors. raise_exc = kwargs.pop('raise_exc', True) - kwargs['headers'].update(web.get_trace_id_headers()) resp = super(SessionClient, self).request(url, method, raise_exc=False, diff --git a/requirements.txt b/requirements.txt index 4e6f8c4..ebc321f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,6 @@ osc-lib>=1.0.1 # Apache-2.0 oslo.i18n>=1.5.0 # Apache-2.0 oslo.serialization>=1.4.0 # Apache-2.0 oslo.utils>=2.0.0 # Apache-2.0 -osprofiler>=1.4.0 # Apache-2.0 keystoneauth1>=1.0.0 six -pyparsing \ No newline at end of file +pyparsing -- 2.20.1