Skip to content

Commit a9659e3

Browse files
committed
Limit documentation to basic glob patterns
1 parent ea1c3f4 commit a9659e3

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

instrumentation/opentelemetry-instrumentation-system-metrics/src/opentelemetry/instrumentation/system_metrics/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def _build_default_config() -> dict[str, list[str] | None]:
164164
for pat in os.environ.get(
165165
OTEL_PYTHON_SYSTEM_METRICS_EXCLUDED_METRICS, ""
166166
).split(",")
167-
if pat
167+
if pat.strip()
168168
]
169169
if excluded_metrics:
170170
return {

instrumentation/opentelemetry-instrumentation-system-metrics/src/opentelemetry/instrumentation/system_metrics/environment_variables.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@
4141
The environment variable supports standard glob patterns for metric filtering:
4242
4343
- ``*`` - Matches any sequence of characters within a metric name
44-
- ``?`` - Matches any single character
45-
- ``[seq]`` - Matches any character in the sequence
46-
- ``[!seq]`` - Matches any character not in the sequence
4744
4845
**Example Patterns:**
4946

0 commit comments

Comments
 (0)