diff options
author | Ilya Shakhat <shakhat@gmail.com> | 2018-09-17 15:52:40 +0200 |
---|---|---|
committer | Ilya Shakhat <shakhat@gmail.com> | 2018-09-17 15:52:40 +0200 |
commit | 2f66049fb8d7b785b0487bf39df9004d388bcf1b (patch) | |
tree | 2b7fc3e211d256bb6cd99c9c0b2987a12b0de832 /devstack/README.rst | |
parent | 2b4786b5cc819c5d321d97e3cf9e1d5f24ebdb97 (diff) | |
download | osprofiler-2f66049fb8d7b785b0487bf39df9004d388bcf1b.tar.gz |
Make tracing of SQL statements configurable in DevStack plugin
This patch adds a new configuration variable OSPROFILER_TRACE_SQLALCHEMY
with default value `True`.
Change-Id: I72c782872dac370d6d1620cf734a293f998ed7f1
Diffstat (limited to 'devstack/README.rst')
-rw-r--r-- | devstack/README.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devstack/README.rst b/devstack/README.rst index 97361ae..2d4ceab 100644 --- a/devstack/README.rst +++ b/devstack/README.rst @@ -80,3 +80,9 @@ that the default messaging driver is used. Example: enable Redis collector:: OSPROFILER_COLLECTOR=redis + +**OSPROFILER_TRACE_SQLALCHEMY** - controls tracing of SQL statements. If enabled, +all SQL statements processed by SQL Alchemy are added into traces. By default enabled. +Example: disable SQL statements tracing:: + + OSPROFILER_TRACE_SQLALCHEMY=False |