Skip to content

feat: Approach C - Envoy sidecar + correlation ID for delegation provenance - #670

Closed
Ladas wants to merge 2 commits into
rossoctl:mainfrom
Ladas:feat/otel-correlation-sidecar-667
Closed

Ladas wants to merge 2 commits into
rossoctl:mainfrom
Ladas:feat/otel-correlation-sidecar-667

Conversation

@Ladas

@Ladas Ladas commented Feb 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Approach C for issue #667: Document the Envoy sidecar + shared correlation ID approach from team discussion. Uses post-hoc temporal backtracking to reconstruct delegation chains without agent instrumentation.

Assessment: Complementary, not standalone. This approach cannot pass MLflow E2E tests alone because:

  • Envoy spans don't have access to request/response body content (no mlflow.spanInputs/Outputs)
  • Post-hoc correlation produces separate traces, not the parent-child tree MLflow expects
  • No GenAI semantic convention attributes without body parsing

This is designed for delegation/provenance tracking (who called whom) and complements Approaches A/B for GenAI observability.

See design doc for full analysis.

Related

Test plan

  • Document architecture and limitations
  • Show how this complements Approaches A and B
  • Proof-of-concept Envoy config with tracing enabled
  • NOT targeting MLflow E2E test pass (different use case)

🤖 Generated with Claude Code

Add design document for Approach C: using Envoy sidecars with shared
correlation IDs and post-hoc temporal backtracking for delegation chain
reconstruction. Documents why this is complementary to GenAI observability
rather than a standalone solution for MLflow/Phoenix.

Closes rossoctl#667 (approach C)

Signed-off-by: Ladas <[email protected]>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Signed-off-by: Ladislav Smola <[email protected]>
…ariants

Add VariantProfile dataclass and AGENT_OBSERVABILITY_VARIANT env var to
support testing different agent instrumentation approaches with the same
test suite. Each variant declares what root span attributes it produces,
and tests assert/skip based on the variant's capabilities.

Supported variants:
- baseline: Full observability.py in agent (PR 114 approach)
- minimal: Minimal agent boilerplate + OTEL Collector enrichment
- authbridge: AuthBridge ext_proc root span, zero agent code
- none: No instrumentation (negative test)

Refs rossoctl#667

Signed-off-by: Ladas <[email protected]>
Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Signed-off-by: Ladislav Smola <[email protected]>
@Ladas

Ladas commented Feb 17, 2026

Copy link
Copy Markdown
Contributor Author

for now, going with #668

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant