Metadata-Version: 2.1
Name: opencensus-ext-google-cloud-clientlibs
Version: 0.1.2
Summary: OpenCensus Google Cloud Client Libraries Integration
Home-page: https://github.com/census-instrumentation/opencensus-python/tree/master/contrib/opencensus-ext-google-cloud-clientlibs
Author: OpenCensus Authors
Author-email: census-developers@googlegroups.com
License: Apache-2.0
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: opencensus (<1.0.0,>=0.5.0)
Requires-Dist: opencensus-ext-grpc (<1.0.0,>=0.2.0)
Requires-Dist: opencensus-ext-requests (<1.0.0,>=0.1.0)

OpenCensus Google Cloud Client Libraries Integration
============================================================================

|pypi|

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

OpenCensus can trace HTTP and gRPC requests made with the `Cloud client libraries`_.
The request URL, method, and status will be collected.

You can enable Google Cloud client libraries integration by specifying ``'google_cloud_clientlibs'`` to ``trace_integrations``.

.. _Cloud client libraries: https://github.com/GoogleCloudPlatform/google-cloud-python#google-cloud-python-client

Installation
------------

::

    pip install opencensus-ext-google-cloud-clientlibs

Usage
-----

.. code:: python

    from opencensus.trace import config_integration

    config_integration.trace_integrations(['google_cloud_clientlibs'])

References
----------

* `OpenCensus Project <https://opencensus.io/>`_


