semvec/pypi-packages huggingface dataset:
opencensus-ext-zipkin 0.2.2
OpenCensus Zipkin Trace Exporter
License: Apache-2.0

OpenCensus Zipkin Exporter
============================================================================

|pypi|

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

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

::

    pip install opencensus-ext-zipkin

Usage
-----

The **OpenCensus Zipkin Exporter** allows you to export `OpenCensus`_ traces to `Zipkin`_.

.. _OpenCensus: https://github.com/census-instrumentation/opencensus-python/
.. _Zipkin: https://zipkin.io/

.. code:: python

    from opencensus.ext.zipkin.trace_exporter import ZipkinExporter
    from opencensus.trace import tracer as tracer_module

    tracer = tracer_module.Tracer(exporter=ZipkinExporter(
        service_name='my service',
        host_name='localhost',
        port=9411,
    ))

    with tracer.span(name='hello'):
        print('Hello, World!')

References
----------

* `OpenCensus Project <https://opencensus.io/>`_
* `Zipkin <https://zipkin.io/>`_
opencensus-ext-gevent 0.1.0
OpenCensus gevent compatibility helper
License: Apache-2.0

OpenCensus gevent helper
============================================================================

|pypi|

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

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

::

    pip install opencensus-ext-gevent

Usage
-----

As gevent is to date `incompatible <https://github.com/gevent/gevent/issues/1407>`_ with
the new context variables the **OpenCensus gevent helper** configures OpenCensus to use
a compatible thread based runtime context implementation.

No action apart from installing the package is needed as it listens to events
`emitted by gevent  <http://www.gevent.org/api/gevent.monkey.html#plugins>`_ once
patching via ``patch_all`` is complete.


Warning
-------

OpenCensus itself is completely compatible with gevent. Be aware though that not all
available OpenCensus integrations are compatible.

You should  check this on a case by case basis.


References
----------

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