Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/uipath-platform/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "uipath-platform"
version = "0.1.14"
version = "0.1.15"
description = "HTTP client library for programmatic access to UiPath Platform"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.11"
Expand Down
10 changes: 10 additions & 0 deletions packages/uipath-platform/src/uipath/platform/common/_span_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,16 @@ def otel_span_to_uipath_span(
]
attributes_dict["links"] = links_list

# Add process context attributes from environment variables
for env_key, attr_key in (
("PROJECT_KEY", "agentId"),
("UIPATH_PROCESS_KEY", "agentName"),
("UIPATH_PROCESS_VERSION", "agentVersion"),
Comment on lines +272 to +274
Copy link
Copy Markdown
Member

@JosephMar JosephMar Mar 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we already translate projectId and processVersion into AgentId and AgentVersion respectively for lowcode, @saksharthakkar can you point to where this is done (and check if it makes sense to converge some of this) so we don't duplicate attributes?

):
value = env.get(env_key)
if value:
attributes_dict[attr_key] = value

span_type_value = attributes_dict.get("span_type", "OpenTelemetry")
span_type = str(span_type_value)

Expand Down
2 changes: 1 addition & 1 deletion packages/uipath-platform/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/uipath/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading