Namespaces | |
| detail | |
Data Structures | |
| class | DynamicLibraryHandle |
| Manage the ownership of a dynamically loaded library. More... | |
| class | DynamicLibraryHandleUnix |
| class | DynamicLibraryHandleWindows |
| class | Factory |
| Factory creates OpenTelemetry objects from configuration strings. More... | |
| struct | LoaderInfo |
| LoaderInfo describes the versioning of the loader. More... | |
| class | Span |
| class | Tracer |
| class | TracerHandle |
| Manage the ownership of a dynamically loaded tracer. More... | |
Typedefs | |
| using | OpenTelemetryHook = nostd::unique_ptr< Factory::FactoryImpl >(*)(const LoaderInfo &loader_info, nostd::unique_ptr< char[]> &error_message) |
Functions | |
| std::unique_ptr< Factory > | LoadFactory (const char *plugin, std::string &error_message) noexcept |
| Load an OpenTelemetry implementation as a plugin. More... | |
| using plugin::OpenTelemetryHook = typedef nostd::unique_ptr<Factory::FactoryImpl> (*)(const LoaderInfo &loader_info, nostd::unique_ptr<char[]> &error_message) |
Definition at line 49 of file includes/opentelemetry/plugin/hook.h.
|
inlinenoexcept |
Load an OpenTelemetry implementation as a plugin.
| plugin | the path to the plugin to load |
| error_message | on failure this is set to an error message |
Definition at line 31 of file includes/opentelemetry/plugin/detail/dynamic_load_unix.h.
References plugin::detail::CopyErrorMessage(), nostd::unique_ptr< T >::get(), and absl::move().