OTEL node Span attribute mappings #23
Unanswered
alexanderlvov1
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there. i have setup node-red to call my apigw and grafana tempo proxied by opentelemetry produces nice services graphs where my node-red and apigw are present. however node-red is always marked red, 100%, and so i started to wonder if i can use " Span attribute mappings" to fix these or there is some other way fix it as node-red part of the trace indicate error as shown here:
...{
"traceId": "d7824e10c88f39e99dbd2905bfd783d5",
"spanId": "db52bb2308b5de89",
"parentSpanId": "34136d32ebe8b0a0",
"traceState": "",
"name": "incoming httpbin",
"kind": "SPAN_KIND_CLIENT",
"startTimeUnixNano": 1757417403045000000,
"endTimeUnixNano": 1757417403955737900,
"attributes": [
{
"key": "code.function",
"value": {
"stringValue": "http request"
}
},
{
"key": "node_red.msg.new",
"value": {
"boolValue": false
}
},
{
"key": "node_red.msg.id",
"value": {
"stringValue": "4af3aed2acfb228f"
}
},
{
"key": "node_red.flow.id",
"value": {
"stringValue": "ef0ee43a9d9bdc72"
}
},
{
"key": "node_red.node.id",
"value": {
"stringValue": "457e673467a529ac"
}
},
{
"key": "node_red.node.type",
"value": {
"stringValue": "http request"
}
},
{
"key": "node_red.node.name",
"value": {
"stringValue": "incoming httpbin"
}
},
{
"key": "http.response.status_code",
"value": {
"intValue": 200
}
},
{
"key": "url.path",
"value": {
"stringValue": "/httpbin"
}
},
{
"key": "server.address",
"value": {
"stringValue": "api.testig.svc.cluster.local"
}
},
{
"key": "server.port",
"value": {
"stringValue": ""
}
},
{
"key": "url.scheme",
"value": {
"stringValue": "http"
}
}
],
"droppedAttributesCount": 0,
"droppedEventsCount": 0,
"droppedLinksCount": 0,
"status": {
"code": 1,
"message": ""
}
},
{...
Beta Was this translation helpful? Give feedback.
All reactions