Skip to main content

oslo.reports library

Project description

Latest Version Downloads

When things go wrong in (production) deployments of OpenStack collecting debug data is a key first step in the process of triaging & ultimately resolving the problem. Projects like Nova has extensively used logging capabilities which produce a vast amount of data. This does not, however, enable an admin to obtain an accurate view on the current live state of the system. For example, what threads are running, what config parameters are in effect, and more.

The project oslo.reports hosts a general purpose error report generation framework, known as the “guru meditation report” (cf http://en.wikipedia.org/wiki/Guru_Meditation) to address the issues described above.

Models: These classes define structured data for a variety of interesting pieces of state. For example, stack traces, threads, config parameters, package version info, etc. They are capable of being serialized to XML / JSON or a plain text representation

Generators: These classes are used to populate the model classes with the current runtime state of the system

Views: views serialize models into say JSON, text or xml. There is also a predefined view that utilizes Jinja templating system.

There will be a number of standard models / generators available for all OpenStack services

StackTraceModel: a base class for any model which includes a stack trace ThreadModel: a class for information about a thread ExceptionModel: a class for information about a caught exception ConfigModel: a class for information about configuration file settings PackageModel: a class for information about vendor/product/version/package information

Each OpenStack project will have the ability to register further generator classes to provide custom project specific data.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

oslo.reports-1.8.0.tar.gz (41.8 kB view details)

Uploaded Source

Built Distribution

oslo.reports-1.8.0-py2.py3-none-any.whl (48.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file oslo.reports-1.8.0.tar.gz.

File metadata

File hashes

Hashes for oslo.reports-1.8.0.tar.gz
Algorithm Hash digest
SHA256 88d981b56c0760a27f36e15bb347e68ee52b18154c44d4c4e2bada8ea329b6f5
MD5 6d4f4ed61c59f326c2a39cefd2363f4c
BLAKE2b-256 5b8d380e608964d552b563c464955c6c6c0e86b9b86f969ee33cf2e763e16738

See more details on using hashes here.

Provenance

File details

Details for the file oslo.reports-1.8.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for oslo.reports-1.8.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2c1a44c92a532a8d56b5dab5e50f636e85f5076b18a83e3527d5fad32d0ca740
MD5 e4dcf89f7e825dad46dfa4fedcf823b1
BLAKE2b-256 98d2588d165ab1408d451a996a0195644ab5425ed04ecccd585ae75914c1d205

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page