Skip to content

Instrumentation.ConfluentKafka-0.2.0-alpha.1

Pre-release
Pre-release

Choose a tag to compare

@otelbot-dotnet-contrib otelbot-dotnet-contrib released this 08 Jul 10:17
Immutable release. Only release title and notes can be modified.
0299cdd
  • NuGet: OpenTelemetry.Instrumentation.ConfluentKafka v0.2.0-alpha.1

    • Updated OpenTelemetry core component version(s) to 1.16.0.
      (#4487)

    • Supported manual configuration of traces and metrics for Kafka consumers
      and producers created outside a DI container.
      (#4545)

    • Assemblies are now digitally signed using cosign.
      (#4637)

    • Breaking change: Updated the traces and metrics emitted by the Kafka
      producer and consumer to follow the
      v1.43.0 messaging semantic conventions.
      The producer send span (previously publish) and the consumer poll
      span (previously receive, and now emitted with ActivityKind.Client) now
      set:

      • messaging.operation.name and messaging.operation.type
        (replacing messaging.operation)
      • messaging.client.id (replacing messaging.client_id)
      • messaging.consumer.group.name (replacing
        messaging.kafka.consumer.group)
      • messaging.destination.partition.id (a string) (replacing
        messaging.kafka.destination.partition)
      • messaging.kafka.offset (replacing messaging.kafka.message.offset)

      messaging.kafka.message.key is now emitted as a string when the key has an
      unambiguous canonical representation; otherwise, the attribute is omitted.

      The metrics were renamed to:

      • messaging.client.operation.duration
        (replacing messaging.publish.duration and messaging.receive.duration)
      • messaging.client.sent.messages (replacing messaging.publish.messages)
      • messaging.client.consumed.messages
        (replacing messaging.receive.messages).

      error.type is now reported as the language-agnostic Kafka error code for
      Kafka errors (ProduceException/ConsumeException), or the exception type
      name for other failures (such as an ArgumentException from the producer or
      an exception thrown by a message handler).
      (#4636)

    • Metrics and traces now include a telemetry schema URL.
      (#4636)

    See CHANGELOG for details.