Skip to content

Instantly share code, notes, and snippets.

@axw
Created January 19, 2026 01:38
Show Gist options
  • Select an option

  • Save axw/95d94dc01905aedf644890406136ddbb to your computer and use it in GitHub Desktop.

Select an option

Save axw/95d94dc01905aedf644890406136ddbb to your computer and use it in GitHub Desktop.
envoy OTLP JSON
{
"resourceSpans": [
{
"resource": {
"attributes": [
{
"key": "telemetry.sdk.language",
"value": {
"stringValue": "cpp"
}
},
{
"key": "telemetry.sdk.name",
"value": {
"stringValue": "envoy"
}
},
{
"key": "telemetry.sdk.version",
"value": {
"stringValue": "bad8280de85c25b147a90c1d9b8a8c67a13e7134/1.36.4/Modified/RELEASE/BoringSSL"
}
},
{
"key": "deployment.environment",
"value": {
"stringValue": "production"
}
},
{
"key": "service.name",
"value": {
"stringValue": "envoy-gateway-example"
}
},
{
"key": "service.version",
"value": {
"stringValue": "v1.0.0"
}
}
]
},
"scopeSpans": [
{
"spans": [
{
"traceId": "faa7c15a73d7fce0731126569b429023",
"spanId": "083b70fa618df83a",
"parentSpanId": "b640c12ff9743c01",
"name": "router httproute/envoy-gateway-system/backend/rule/0 egress",
"startTimeUnixNano": "1768737249402159872",
"endTimeUnixNano": "1768737250005652992",
"kind": 3,
"attributes": [
{
"key": "http.protocol",
"value": {
"stringValue": "HTTP/2"
}
},
{
"key": "upstream_address",
"value": {
"stringValue": "66.241.125.232:443"
}
},
{
"key": "peer.address",
"value": {
"stringValue": "66.241.125.232:443"
}
},
{
"key": "component",
"value": {
"stringValue": "proxy"
}
},
{
"key": "upstream_cluster",
"value": {
"stringValue": "httproute/envoy-gateway-system/backend/rule/0"
}
},
{
"key": "upstream_cluster.name",
"value": {
"stringValue": "httproute/envoy-gateway-system/backend/rule/0"
}
},
{
"key": "http.status_code",
"value": {
"stringValue": "200"
}
},
{
"key": "response_flags",
"value": {
"stringValue": "-"
}
}
]
},
{
"traceId": "faa7c15a73d7fce0731126569b429023",
"spanId": "b640c12ff9743c01",
"parentSpanId": "",
"name": "ingress",
"startTimeUnixNano": "1768737249402068992",
"endTimeUnixNano": "1768737250005686016",
"kind": 2,
"attributes": [
{
"key": "node_id",
"value": {
"stringValue": "envoy-gateway-system-eg-5391c79d"
}
},
{
"key": "zone",
"value": {
"stringValue": "$(ENVOY_SERVICE_ZONE)"
}
},
{
"key": "guid:x-request-id",
"value": {
"stringValue": "685f0d4f-202a-9e08-ad30-574df0807818"
}
},
{
"key": "http.url",
"value": {
"stringValue": "http://localhost:10080/get"
}
},
{
"key": "http.method",
"value": {
"stringValue": "GET"
}
},
{
"key": "downstream_cluster",
"value": {
"stringValue": "-"
}
},
{
"key": "user_agent",
"value": {
"stringValue": "curl/8.7.1"
}
},
{
"key": "http.protocol",
"value": {
"stringValue": "HTTP/1.1"
}
},
{
"key": "peer.address",
"value": {
"stringValue": "127.0.0.1"
}
},
{
"key": "request_size",
"value": {
"stringValue": "0"
}
},
{
"key": "response_size",
"value": {
"stringValue": "828"
}
},
{
"key": "component",
"value": {
"stringValue": "proxy"
}
},
{
"key": "upstream_cluster",
"value": {
"stringValue": "httproute/envoy-gateway-system/backend/rule/0"
}
},
{
"key": "upstream_cluster.name",
"value": {
"stringValue": "httproute/envoy-gateway-system/backend/rule/0"
}
},
{
"key": "http.status_code",
"value": {
"stringValue": "200"
}
},
{
"key": "response_flags",
"value": {
"stringValue": "-"
}
}
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment