Add Guru Meditation Reports support to Neutron services
This new feature allows services to dump valuable debug info to stderr on SIGUSR2 signal. Change-Id: If17b57f687558e23b830eae5ee1f8900356355e4 Implements: blueprint guru-meditation-report
This commit is contained in:
parent
7490891157
commit
a63c413f05
@ -0,0 +1,20 @@
|
||||
# All Rights Reserved.
|
||||
#
|
||||
# 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 oslo_reports import guru_meditation_report as gmr
|
||||
|
||||
from neutron import version
|
||||
|
||||
_version_string = version.version_info.release_string()
|
||||
gmr.TextGuruMeditation.setup_autorun(version=_version_string)
|
6
releasenotes/notes/oslo-reports-166a169037bf64f2.yaml
Normal file
6
releasenotes/notes/oslo-reports-166a169037bf64f2.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
prelude: >
|
||||
Neutron is integrated with Guru Meditation Reports library.
|
||||
features:
|
||||
- Neutron services should now respond to SIGUSR2 signal by dumping valuable
|
||||
debug information to standard error output.
|
@ -34,6 +34,7 @@ oslo.log>=1.12.0 # Apache-2.0
|
||||
oslo.messaging!=2.8.0,>2.6.1 # Apache-2.0
|
||||
oslo.middleware>=2.9.0 # Apache-2.0
|
||||
oslo.policy>=0.5.0 # Apache-2.0
|
||||
oslo.reports>=0.6.0 # Apache-2.0
|
||||
oslo.rootwrap>=2.0.0 # Apache-2.0
|
||||
oslo.serialization>=1.10.0 # Apache-2.0
|
||||
oslo.service>=0.12.0 # Apache-2.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user