opencensus-ext-sqlalchemy-0.1.3
توضیحات
OpenCensus SQLAlchemy Integration
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | opencensus-ext-sqlalchemy-0.1.3 |
| نام | opencensus-ext-sqlalchemy |
| نسخه کتابخانه | 0.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | OpenCensus Authors |
| ایمیل نویسنده | census-developers@googlegroups.com |
| آدرس صفحه اصلی | https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-sqlalchemy |
| آدرس اینترنتی | https://pypi.org/project/opencensus-ext-sqlalchemy/ |
| مجوز | Apache-2.0 |
OpenCensus SQLAlchemy Integration
============================================================================
|pypi|
.. |pypi| image:: https://badge.fury.io/py/opencensus-ext-sqlalchemy.svg
:target: https://pypi.org/project/opencensus-ext-sqlalchemy/
You can trace usage of the `sqlalchemy package`_, regardless of the underlying
database, by specifying ``'sqlalchemy'`` to ``trace_integrations``.
.. _SQLAlchemy package: https://pypi.org/project/SQLAlchemy
.. note:: If you enable tracing of SQLAlchemy as well as the underlying database
driver, you will get duplicate spans. Instead, just trace SQLAlchemy.
Installation
------------
::
pip install opencensus-ext-sqlalchemy
Usage
-----
.. code:: python
from opencensus.trace import config_integration
config_integration.trace_integrations(['sqlalchemy'])
References
----------
* `OpenCensus Project <https://opencensus.io/>`_
نیازمندی
| مقدار | نام |
|---|---|
| <1.0.0,>=0.8.0 | opencensus |
| <1.3.24,>=1.1.14 | SQLAlchemy |
نحوه نصب
نصب پکیج whl opencensus-ext-sqlalchemy-0.1.3:
pip install opencensus-ext-sqlalchemy-0.1.3.whl
نصب پکیج tar.gz opencensus-ext-sqlalchemy-0.1.3:
pip install opencensus-ext-sqlalchemy-0.1.3.tar.gz