Project: opencensus-ext-postgresql

OpenCensus PostgreSQL Integration

Project Details

Latest version
0.1.3
Home Page
https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-postgresql
PyPI Page
https://pypi.org/project/opencensus-ext-postgresql/

Project Popularity

PageRank
0.0028548127853168554
Number of downloads
876316

OpenCensus PostgreSQL Integration

|pypi|

.. |pypi| image:: https://badge.fury.io/py/opencensus-ext-postgresql.svg :target: https://pypi.org/project/opencensus-ext-postgresql/

The integration with PostgreSQL supports the psycopg2_ library and is specified to trace_integrations using 'postgresql'.

.. _psycopg2: https://pypi.org/project/psycopg2

Installation

::

pip install opencensus-ext-postgresql

Usage

.. code:: python

from opencensus.trace import config_integration

config_integration.trace_integrations(['postgresql'])

References

  • OpenCensus Project <https://opencensus.io/>_