Skip to content

TelemetrySettingsProvider

faststream.opentelemetry.provider.TelemetrySettingsProvider #

Bases: Protocol[MsgType]

messaging_system instance-attribute #

messaging_system

get_consume_attrs_from_message #

get_consume_attrs_from_message(msg)
Source code in faststream/opentelemetry/provider.py
def get_consume_attrs_from_message(
    self,
    msg: "StreamMessage[MsgType]",
) -> "AnyDict": ...

get_consume_destination_name #

get_consume_destination_name(msg)
Source code in faststream/opentelemetry/provider.py
def get_consume_destination_name(
    self,
    msg: "StreamMessage[MsgType]",
) -> str: ...

get_publish_attrs_from_kwargs #

get_publish_attrs_from_kwargs(kwargs)
Source code in faststream/opentelemetry/provider.py
def get_publish_attrs_from_kwargs(
    self,
    kwargs: "AnyDict",
) -> "AnyDict": ...

get_publish_destination_name #

get_publish_destination_name(kwargs)
Source code in faststream/opentelemetry/provider.py
def get_publish_destination_name(
    self,
    kwargs: "AnyDict",
) -> str: ...