Factory creates OpenTelemetry objects from configuration strings.
Definition at line 19 of file includes/opentelemetry/plugin/factory.h.
Data Structures | |
| class | FactoryImpl |
Public Member Functions | |
| Factory (std::shared_ptr< DynamicLibraryHandle > library_handle, std::unique_ptr< FactoryImpl > &&factory_impl) noexcept | |
| std::shared_ptr< trace::Tracer > | MakeTracer (nostd::string_view tracer_config, std::string &error_message) const noexcept |
| Construct a tracer from a configuration string. More... | |
| Factory (std::shared_ptr< DynamicLibraryHandle > library_handle, std::unique_ptr< FactoryImpl > &&factory_impl) noexcept | |
| std::shared_ptr< trace::Tracer > | MakeTracer (nostd::string_view tracer_config, std::string &error_message) const noexcept |
| Construct a tracer from a configuration string. More... | |
|
inlinenoexcept |
Definition at line 32 of file includes/opentelemetry/plugin/factory.h.
References absl::move().
|
inlinenoexcept |
Definition at line 32 of file 9.2/includes/opentelemetry/plugin/factory.h.
References absl::move().
|
inlinenoexcept |
Construct a tracer from a configuration string.
| tracer_config | a representation of the tracer's config as a string. |
| error_message | on failure this will contain an error message. |
Definition at line 43 of file includes/opentelemetry/plugin/factory.h.
References plugin::detail::CopyErrorMessage(), nostd::unique_ptr< T >::get(), and absl::move().
|
inlinenoexcept |
Construct a tracer from a configuration string.
| tracer_config | a representation of the tracer's config as a string. |
| error_message | on failure this will contain an error message. |
Definition at line 43 of file 9.2/includes/opentelemetry/plugin/factory.h.
References plugin::detail::CopyErrorMessage(), nostd::unique_ptr< T >::get(), and absl::move().