mirror of
https://github.com/katanemo/plano.git
synced 2026-06-26 15:39:40 +02:00
add custom trace attributes
This commit is contained in:
parent
d70f79b41c
commit
3a663aa780
10 changed files with 764 additions and 409 deletions
|
|
@ -55,3 +55,22 @@ listeners:
|
|||
|
||||
tracing:
|
||||
random_sampling: 100
|
||||
custom_attributes:
|
||||
- header: x-workspace-id
|
||||
key: workspace.id
|
||||
type: str
|
||||
- header: x-tenant-id
|
||||
key: tenant.id
|
||||
type: str
|
||||
- header: x-user-id
|
||||
key: user.id
|
||||
type: str
|
||||
- header: x-admin-level
|
||||
key: admin.level
|
||||
type: int
|
||||
- header: x-is-internal
|
||||
key: is.internal
|
||||
type: bool
|
||||
- header: x-budget
|
||||
key: budget.value
|
||||
type: float
|
||||
|
|
|
|||
|
|
@ -3,6 +3,12 @@
|
|||
### Travel Agent Chat Completion Request
|
||||
POST {{llm_endpoint}}/v1/chat/completions HTTP/1.1
|
||||
Content-Type: application/json
|
||||
X-Workspace-Id: ws_7e2c5d91b4224f59b0e6a4e0125c21b3
|
||||
X-Tenant-Id: ten_4102a8c7fa6542b084b395d2df184a9a
|
||||
X-User-Id: usr_19df7e6751b846f9ba026776e3c12abe
|
||||
X-Admin-Level: 3
|
||||
X-Is-Internal: true
|
||||
X-Budget: 42.5
|
||||
|
||||
{
|
||||
"model": "gpt-4o",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue