Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.03 KB

File metadata and controls

35 lines (23 loc) · 1.03 KB

OpenTelemetry Flask Tracing

pypi

This library builds on the OpenTelemetry WSGI middleware to track web requests in Flask applications.

Installation

pip install opentelemetry-ext-flask

Configuration

Exclude lists

Excludes certain hosts and paths from being tracked. Pass in comma delimited string into environment variables. Host refers to the entire url and path refers to the part of the url after the domain. Host matches the exact string that is given, where as path matches if the url starts with the given excluded path.

Excluded hosts: OPENTELEMETRY_PYTHON_FLASK_EXCLUDED_HOSTS Excluded paths: OPENTELEMETRY_PYTHON_FLASK_EXCLUDED_PATHS

References