mirror of
https://github.com/katanemo/plano.git
synced 2026-05-05 22:02:43 +02:00
Add service to stream custom otel traces to otel-collector (#262)
This commit is contained in:
parent
d87105882b
commit
30647fd508
12 changed files with 368 additions and 9 deletions
31
tracing.rest
Normal file
31
tracing.rest
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
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