Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

fix(traces): fix traced otel supression - #22

Merged
ionmincu merged 1 commit into
mainfrom
fix/traced_supression
Jan 16, 2026
Merged

ionmincu merged 1 commit into
mainfrom
fix/traced_supression

Conversation

@ionmincu

@ionmincu ionmincu commented Jan 16, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Allow usage of suppress_instrumentation. Otel does not automatically filter out traces based on this, when using tracer.start_span.

Example usage:

from opentelemetry.instrumentation.utils import suppress_instrumentation

    with suppress_instrumentation():
        await randomfunction()

Also update publish-dev to output override-dependencies

Development Package

  • Use uipath pack --nolock to get the latest dev build from this PR (requires version range).
  • Add this package as a dependency in your pyproject.toml:
[project]
dependencies = [
  # Exact version:
  "uipath-core==0.1.7.dev1000220122",

  # Any version from PR
  "uipath-core>=0.1.7.dev1000220000,<0.1.7.dev1000230000"
]

[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true

[tool.uv.sources]
uipath-core = { index = "testpypi" }

[tool.uv]
override-dependencies = [
    "uipath-core>=0.1.7.dev1000220000,<0.1.7.dev1000230000",
]

@ionmincu ionmincu self-assigned this Jan 16, 2026
@ionmincu
ionmincu force-pushed the fix/traced_supression branch from 064dbba to 1df28b9 Compare January 16, 2026 15:25
@ionmincu
ionmincu marked this pull request as ready for review January 16, 2026 15:28
@ionmincu
ionmincu requested a review from cristipufu January 16, 2026 15:29
@ionmincu
ionmincu force-pushed the fix/traced_supression branch from 1df28b9 to 79c2614 Compare January 16, 2026 15:31
@ionmincu
ionmincu merged commit 0af890d into main Jan 16, 2026
13 checks passed
@ionmincu
ionmincu deleted the fix/traced_supression branch January 16, 2026 15:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants