Handles span creation and in-process context propagation.
This class provides methods for manipulating the context, creating spans, and controlling spans' lifecycles.
Definition at line 27 of file includes/opentelemetry/trace/tracer.h.
|
| virtual | ~Tracer ()=default |
| |
| virtual nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, const common::KeyValueIterable &attributes, const SpanContextKeyValueIterable &links, const StartSpanOptions &options={}) noexcept=0 |
| | Starts a span. More...
|
| |
| nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, const StartSpanOptions &options={}) noexcept |
| |
| template<class T , nostd::enable_if_t< common::detail::is_key_value_iterable< T >::value > * = nullptr> |
| nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, const T &attributes, const StartSpanOptions &options={}) noexcept |
| |
| nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, const common::KeyValueIterable &attributes, const StartSpanOptions &options={}) noexcept |
| |
| template<class T , class U , nostd::enable_if_t< common::detail::is_key_value_iterable< T >::value > * = nullptr, nostd::enable_if_t< detail::is_span_context_kv_iterable< U >::value > * = nullptr> |
| nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, const T &attributes, const U &links, const StartSpanOptions &options={}) noexcept |
| |
| nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >> attributes, const StartSpanOptions &options={}) noexcept |
| |
| template<class T , nostd::enable_if_t< common::detail::is_key_value_iterable< T >::value > * = nullptr> |
| nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, const T &attributes, std::initializer_list< std::pair< SpanContext, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >>>> links, const StartSpanOptions &options={}) noexcept |
| |
| template<class T , nostd::enable_if_t< common::detail::is_key_value_iterable< T >::value > * = nullptr> |
| nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >> attributes, const T &links, const StartSpanOptions &options={}) noexcept |
| |
| nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >> attributes, std::initializer_list< std::pair< SpanContext, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >>>> links, const StartSpanOptions &options={}) noexcept |
| |
| virtual | ~Tracer ()=default |
| |
| virtual nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, const common::KeyValueIterable &attributes, const SpanContextKeyValueIterable &links, const StartSpanOptions &options={}) noexcept=0 |
| | Starts a span. More...
|
| |
| nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, const StartSpanOptions &options={}) noexcept |
| |
| template<class T , nostd::enable_if_t< common::detail::is_key_value_iterable< T >::value > * = nullptr> |
| nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, const T &attributes, const StartSpanOptions &options={}) noexcept |
| |
| nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, const common::KeyValueIterable &attributes, const StartSpanOptions &options={}) noexcept |
| |
| template<class T , class U , nostd::enable_if_t< common::detail::is_key_value_iterable< T >::value > * = nullptr, nostd::enable_if_t< detail::is_span_context_kv_iterable< U >::value > * = nullptr> |
| nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, const T &attributes, const U &links, const StartSpanOptions &options={}) noexcept |
| |
| nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >> attributes, const StartSpanOptions &options={}) noexcept |
| |
| template<class T , nostd::enable_if_t< common::detail::is_key_value_iterable< T >::value > * = nullptr> |
| nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, const T &attributes, std::initializer_list< std::pair< SpanContext, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >>>> links, const StartSpanOptions &options={}) noexcept |
| |
| template<class T , nostd::enable_if_t< common::detail::is_key_value_iterable< T >::value > * = nullptr> |
| nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >> attributes, const T &links, const StartSpanOptions &options={}) noexcept |
| |
| nostd::shared_ptr< Span > | StartSpan (nostd::string_view name, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >> attributes, std::initializer_list< std::pair< SpanContext, std::initializer_list< std::pair< nostd::string_view, common::AttributeValue >>>> links, const StartSpanOptions &options={}) noexcept |
| |