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

[extension/encoding] support skywalkingencoding extension #36968

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

JaredTan95
Copy link
Member

Description

The kafkareceiver supports jaeger and zipkin protocol traces, and can also receive skywalkng traces via skywalkingreceiver.

From the practical use of skywalking, we often use kafka to host large-scale traces data. However, kafka receiver does not support skywalking encoding currently.

with this PR, we can fectch skywalking traces and parse it into otlp traces:

receivers:
  otlp:
    protocols:
      grpc:
        endpoint: 0.0.0.0:4317
  kafka:
    encoding: skywalking_encoding
    topic: skywalking-segments
    brokers:
      - "localhost:9092"
    resolve_canonical_bootstrap_servers_only: true
    client_id: otel-collector
    group_id: otel-collector
    metadata:
      retry:
        max: 10
        backoff: 5s

exporters:
  debug:

processors:
  batch:

extensions:
  health_check:
  pprof:
    endpoint: :1888
  zpages:
    endpoint: :55679
  skywalking_encoding:
    protocol: skywalking_proto

service:
  extensions: [pprof, zpages, skywalking_encoding, health_check]
  pipelines:
    traces:
      receivers: [kafka]
      processors: [batch]
      exporters: [debug]

Link to tracking issue

Fixes #28693

Testing

Documentation

@JaredTan95 JaredTan95 changed the title [extension/encoding] suuport Skywalkingencoding extension [extension/encoding] support skywalkingencoding extension Dec 27, 2024
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
@JaredTan95 JaredTan95 force-pushed the skywalkingencoding_extension branch from 8d1b0e5 to b01b7a1 Compare December 27, 2024 06:28
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
Signed-off-by: Jared Tan <[email protected]>

Signed-off-by: Jared Tan <[email protected]>
@@ -90,11 +90,12 @@ extension/awsproxy/ @open-telemetry/collector-cont
extension/basicauthextension/ @open-telemetry/collector-contrib-approvers @jpkrohling @frzifus
extension/bearertokenauthextension/ @open-telemetry/collector-contrib-approvers @jpkrohling @frzifus
extension/cgroupruntimeextension/ @open-telemetry/collector-contrib-approvers @mx-psi @rogercoll
extension/encoding/ @open-telemetry/collector-contrib-approvers @atoulme @dao-jun @dmitryax @MovieStoreGuy @VihasMakwana
extension/encoding/ @open-telemetry/collector-contrib-approvers @atoulme @dao-jun @dmitryax @MovieStoreGuy @VihasMakwana @JaredTan95
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do this in a separate pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[receiver/kafka] support receive skywalking traces from kafka
3 participants