Skip to content

Enhancement - Add metric for Kafka receiver unmarshal errors #29302

@thmshmm

Description

@thmshmm

Component(s)

receiver/kafka

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

The current implementation of the Kafka receiver logs unmarshal errors, but lacks a corresponding metric. This enhancement request proposes the addition of a metric to track and expose unmarshal errors.

Benefits:

  • additional metric allows for real-time monitoring and alerting on unmarshal errors
  • the metrics can be used to record historical data

Describe the solution you'd like

For each unmarshal error a counter should be increased. There should be dedicated metrics for logs, metrics and traces.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions