You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flask: Add exclude lists for flask integration (#630)
Leverage global configurations to allow users to specify paths and hosts that they do not want to trace within their Flask applications.
OPENTELEMETRY_PYTHON_FLASK_EXCLUDED_HOSTS and OPENTELEMETRY_PYTHON_FLASK_EXCLUDED_PATHS are the env variables used. Use a comma delimited string to represent seperate hosts/paths to blacklist.
Copy file name to clipboardExpand all lines: ext/opentelemetry-ext-flask/README.rst
+11
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,17 @@ Installation
16
16
17
17
pip install opentelemetry-ext-flask
18
18
19
+
Configuration
20
+
-------------
21
+
22
+
Exclude lists
23
+
*************
24
+
Excludes certain hosts and paths from being tracked. Pass in comma delimited string into environment variables.
25
+
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.
0 commit comments