Skip to content

Expose observability fields on app conversations - #3

Merged
juanmichelini merged 1 commit into
mainfrom
juan/app-conversation-observability-fields
Aug 1, 2026
Merged

Expose observability fields on app conversations#3
juanmichelini merged 1 commit into
mainfrom
juan/app-conversation-observability-fields

Conversation

@juanmichelini

@juanmichelini juanmichelini commented Jul 30, 2026

Copy link
Copy Markdown
Contributor
  • this PR was tested by a human, me, juanmichelini.

Curl:

image

Trace with span name:

image

Signal catching span name:

image

Signal config just in case:

image

Summary

  • add observability_metadata, observability_tags, and observability_span_name to AppConversationStartRequest
  • forward those fields from POST /api/v1/app-conversations into the SDK StartConversationRequest
  • merge caller-provided metadata/tags with app-server-generated observability context for both OpenHands and ACP agents

Context

software-agent-sdk already supports these fields on the lower-level /api/conversations path. After the Agent Canvas migration, the /api/v1/app-conversations backend lives in sandbox-server, so this is the migrated home for exposing the same span-name controls to Cloud/API callers.

Companions:

Testing

  • uv run pytest tests/unit/app_server/test_live_status_app_conversation_service.py -q -k 'observability_fields'
  • uv run ruff check openhands/app_server/app_conversation/app_conversation_models.py openhands/app_server/app_conversation/live_status_app_conversation_service.py tests/unit/app_server/test_live_status_app_conversation_service.py

@juanmichelini
juanmichelini merged commit f19f9e0 into main Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants