fix(tracing): use llmops_ prefix for localhost URLs in LlmOpsHttpExporter#1277
Open
fix(tracing): use llmops_ prefix for localhost URLs in LlmOpsHttpExporter#1277
Conversation
…rter Move the service prefix into _get_base_url() so that localhost URLs use /llmops_ while all other URLs use /llmopstenant_. This allows local development to route to the correct service endpoint. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…porter When UIPATH_TRACE_BASE_URL is set, use it directly as the base URL instead of deriving it from UIPATH_URL. This allows full control over the trace endpoint without relying on the localhost/llmops_ heuristic. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Simplify _get_base_url to only two paths: use UIPATH_TRACE_BASE_URL verbatim if set, otherwise derive from UIPATH_URL with llmopstenant_ appended. The localhost/llmops_ heuristic is no longer needed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
nikhil-maryala
approved these changes
Feb 7, 2026
rockymadden
approved these changes
Feb 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
_get_base_url()so it returns{url}/llmops_for localhost URLs and{url}/llmopstenant_for all other URLs_build_url()to no longer hardcode thellmopstenant_prefix (it's now part ofbase_url)test_get_base_urland updated existing assertionsTest plan
llmops_prefixllmopstenant_now being part ofbase_url🤖 Generated with Claude Code