Skip to content

Add messaging.kafka.bootstrap.servers attribute to Kafka instrumentation #14031

Open
@wl2027

Description

@wl2027

Is your feature request related to a problem? Please describe.

Existing Kafka instrumentation does not capture any server/network details. So in case I have multiple kafka clusters in my application, I cannot differentiate between them.I also don't know either which nodes the operation is performed on. Meanwhile, this is relatively important for constructing the service topology graph.

Describe the solution you'd like

Add messaging.kafka.bootstrap.servers attribute to Kafka instrumentation that should:

  • Extract bootstrap.servers information from Kafka client configurations
  • Include this attribute in all relevant spans (producer spans, consumer process spans, consumer receive spans)

Describe alternatives you've considered

No response

Additional context

This feature request is related to #10647

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds triageNew issue that requires triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions