opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentati...
Diego Hurtado b6e49ba66d
Remove unused imports (#646)
* Remove unused imports

Fixes #645

* Fix lint

* Import trace_tween_factory

* Fix lint

* Fix lint

* Fix pylint

* Try without using the symbol

* Fix isort

* Revert "Fix isort"

This reverts commit 4dbd91450b.

* Revert "Try without using the symbol"

This reverts commit d94f955646.
2021-09-01 19:38:02 +02:00
..
src/opentelemetry/instrumentation/pyramid Remove unused imports (#646) 2021-09-01 19:38:02 +02:00
tests Sync with auto generated semantic convention constants (#428) 2021-04-19 23:37:10 -07:00
LICENSE Fix error in license files (#521) 2021-05-28 09:16:58 -07:00
MANIFEST.in Rename web framework packages from "ext" to "instrumentation" (#961) 2020-08-03 10:10:45 -07:00
README.rst Added link to examples folder in each instrumentation (#438) 2021-04-13 14:56:30 -07:00
setup.cfg Release/1.5.0 0.24b0 (#628) 2021-08-26 14:54:46 +05:30
setup.py Simplify bootstrap and generate code (#514) 2021-06-01 09:19:09 -07:00

README.rst

OpenTelemetry Pyramid Instrumentation
=====================================

|pypi|

.. |pypi| image:: https://badge.fury.io/py/opentelemetry-instrumentation-pyramid.svg
   :target: https://pypi.org/project/opentelemetry-instrumentation-pyramid/

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

::

    pip install opentelemetry-instrumentation-pyramid

Exclude lists
*************
To exclude certain URLs from being tracked, set the environment variable ``OTEL_PYTHON_PYRAMID_EXCLUDED_URLS`` with comma delimited regexes representing which URLs to exclude.

For example, 

::

    export OTEL_PYTHON_PYRAMID_EXCLUDED_URLS="client/.*/info,healthcheck"

will exclude requests such as ``https://site/client/123/info`` and ``https://site/xyz/healthcheck``.

References
----------
* `OpenTelemetry Pyramid Instrumentation <https://opentelemetry-python-contrib.readthedocs.io/en/latest/instrumentation/pyramid/pyramid.html>`_
* `OpenTelemetry Project <https://opentelemetry.io/>`_
* `OpenTelemetry Python Examples <https://github.com/open-telemetry/opentelemetry-python/tree/main/docs/examples>`_