Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kafkareceiver] add support for otlp_json which accepts json formated for Otel Collector kafka receiver #33627

Open
govardhanda-Kore opened this issue Jun 18, 2024 · 3 comments
Labels
enhancement New feature or request needs triage New item requiring triage receiver/kafka

Comments

@govardhanda-Kore
Copy link

govardhanda-Kore commented Jun 18, 2024

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

@govardhanda-Kore govardhanda-Kore added enhancement New feature or request needs triage New item requiring triage labels Jun 18, 2024
@govardhanda-Kore govardhanda-Kore changed the title add support for otlp_json which accepts json formated add support for otlp_json which accepts json formated for Otel Collector kafka receiver Jun 18, 2024
@govardhanda-Kore govardhanda-Kore changed the title add support for otlp_json which accepts json formated for Otel Collector kafka receiver [kafkareceiver] add support for otlp_json which accepts json formated for Otel Collector kafka receiver Jun 18, 2024
@frzifus
Copy link
Member

frzifus commented Jun 18, 2024

Is this about the receiver/kafka in the collector or in some sdk?

@govardhanda-Kore
Copy link
Author

hey, thanks your response, yes it's about the receiver/kafka in the collector

Copy link
Contributor

Pinging code owners for receiver/kafka: @pavolloffay @MovieStoreGuy. See Adding Labels via Comments if you do not have permissions to add labels yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs triage New item requiring triage receiver/kafka
Projects
None yet
Development

No branches or pull requests

3 participants