#include <userver/otlp/logs/component.hpp>
Component to configure logging via OTLP collector.
Options inherited from components::ComponentBase :
Possible sink values:
otlp: OTLP exporterdefault: default logger from the logging componentboth: default logger and OTLP exporter Definition at line 34 of file component.hpp.
Inheritance diagram for otlp::LoggerComponent:Public Member Functions | |
| LoggerComponent (const components::ComponentConfig &, const components::ComponentContext &) | |
| virtual ComponentHealth | GetComponentHealth () const |
| virtual void | OnLoadingCancelled () |
| virtual void | OnAllComponentsLoaded () |
| virtual void | OnAllComponentsAreStopping () |
Static Public Member Functions | |
| static yaml_config::Schema | GetStaticConfigSchema () |
Static Public Attributes | |
| static constexpr std::string_view | kName = "otlp-logger" |
| The default name of otlp::LoggerComponent. | |
|
inlinevirtualinherited |
Reimplemented in components::ComponentBase, and server::handlers::Restart.
Definition at line 52 of file raw_component_base.hpp.
|
inlinevirtualinherited |
Reimplemented in urabbitmq::ConsumerComponentBase, components::ComponentBase, and components::Server.
Definition at line 58 of file raw_component_base.hpp.
|
inlinevirtualinherited |
Reimplemented in urabbitmq::ConsumerComponentBase, components::ComponentBase, components::Server, and server::handlers::Ping.
Definition at line 56 of file raw_component_base.hpp.
|
inlinevirtualinherited |
Reimplemented in components::ComponentBase.
Definition at line 54 of file raw_component_base.hpp.