opentelemetry-python-contrib/instrumentation/opentelemetry-instrumentati...
Alex Boten 18d8217cd7 hotfix: update version numbers to 0.23b2 2021-07-27 19:23:42 -07:00
..
src/opentelemetry/instrumentation/pyramid hotfix: update version numbers to 0.23b2 2021-07-27 19:23:42 -07: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 hotfix: update version numbers to 0.23b2 2021-07-27 19:23:42 -07:00
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>`_