ConfluentTelemetrySettingsProvider
faststream.confluent.opentelemetry.provider.ConfluentTelemetrySettingsProvider #
Bases: BaseConfluentTelemetrySettingsProvider['Message']
Source code in faststream/confluent/opentelemetry/provider.py
get_consume_attrs_from_message #
get_consume_attrs_from_message(
msg: StreamMessage[Message],
) -> dict[str, Any]
Source code in faststream/confluent/opentelemetry/provider.py
get_consume_destination_name #
get_consume_destination_name(
msg: StreamMessage[Message],
) -> str
get_publish_attrs_from_cmd #
get_publish_attrs_from_cmd(
cmd: KafkaPublishCommand,
) -> dict[str, Any]
Source code in faststream/confluent/opentelemetry/provider.py
get_publish_destination_name #
get_publish_destination_name(cmd: PublishCommand) -> str