Closed
Description
Component(s)
receiver/kafka
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
add support for otlp_json which accepts json formatted oltp data same as http/json in otel collector (Receiver)
const otelresourcespans = {
"resourceSpans": [
{
"resource": {
"attributes": [
{
key: 'service.name',
value: { stringValue: 'serviceName' }
}
]
},
"scopeSpans": [
{
"scope": {
"name": "my.library",
"version": "1.0.0",
"attributes": [
{
"key": "my.scope.attribute",
"value": {
"stringValue": "some scope attribute"
}
}
]
},
"spans": []
}
]
}
]
};
Describe alternatives you've considered
No response
Additional context
No response