mirror of
https://github.com/katanemo/plano.git
synced 2026-04-25 00:36:34 +02:00
use standard tracing and logging in brightstaff (#721)
This commit is contained in:
parent
4d9ed74b68
commit
46de89590b
55 changed files with 1494 additions and 2432 deletions
|
|
@ -16,4 +16,4 @@ services:
|
|||
- OPENAI_API_KEY=${OPENAI_API_KEY:?error}
|
||||
- MISTRAL_API_KEY=${MISTRAL_API_KEY:?error}
|
||||
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:?error}
|
||||
- OTEL_TRACING_HTTP_ENDPOINT=http://host.docker.internal:4318/v1/traces
|
||||
- OTEL_TRACING_GRPC_ENDPOINT=http://host.docker.internal:4317
|
||||
|
|
|
|||
|
|
@ -1,31 +0,0 @@
|
|||
POST http://localhost:4318/v1/traces
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"resourceSpans": [
|
||||
{
|
||||
"resource": {
|
||||
"attributes": [
|
||||
{ "key": "service.name", "value": { "stringValue": "upstream-llm" } }
|
||||
]
|
||||
},
|
||||
"scopeSpans": [
|
||||
{
|
||||
"scope": { "name": "default", "version": "1.0", "attributes": [] },
|
||||
"spans": [
|
||||
{
|
||||
"traceId": "fa8f7c410c28092faafbd7d4a2f5e742",
|
||||
"spanId": "4dc43055a07410d6",
|
||||
"parentSpanId": "f0acd74216a5e179",
|
||||
"name": "archgw",
|
||||
"startTimeUnixNano": "1731363782228270000",
|
||||
"endTimeUnixNano": "1731363787843156000",
|
||||
"kind": 1,
|
||||
"attributes": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue