Phoenix-native Tuning Engines observability example? #13532
Replies: 2 comments 2 replies
|
oh interesting — the thing people usually miss here is that just forwarding traces/spans isn't enough if you want full observability across gateway events and model calls. We've tried something similar with For your shape, using the client base URL override to hit from phoenix.trace import instrument_openai_client
client = instrument_openai_client(
base_url="https://api.tuningengines.com/v1",
api_key=os.getenv("TE_INFERENCE_KEY"),
metadata={
"run_id": run_id,
"request_id": req_id,
"tenant_app": app_name,
"model_alias": alias,
}
)Not gonna lie, correlating spans across multiple services gets messy when you start mixing vendor-managed gateways and your own infra. Question: how are you planning to surface gateway-side analytics (approvals, cost, routing) in Phoenix traces? Are you thinking custom span attributes, or something like a linked trace context? Would love to know how deep you wanna go on the end-to-end path. |
|
@rehan243 Do let us know any additional information needed to approve the merge. Thanks so much in advance! |
Uh oh!
There was an error while loading. Please reload this page.
The previous PR was closed because it only linked out to Tuning Engines docs and did not show a direct Phoenix integration. That feedback makes sense.
Would a Phoenix-specific cookbook/example be a better fit if it demonstrates the actual observability path instead of a provider listing?
Proposed shape:
https://api.tuningengines.com/v1TE_INFERENCE_KEYrun_id,request_id, tenant app/workflow name, and model aliasThe goal would be to show Phoenix as the observability/evaluation surface and Tuning Engines as the governed inference endpoint. No secrets, no vendor-specific backend internals, and no generic “please list us” page.
If that direction is acceptable, I can open a replacement PR focused on a Phoenix-native example rather than restoring the closed listing PR.
All reactions