The OTLP exporter exports log data in OpenTelemetry Protocol (OTLP) format in gRPC.
Definition at line 36 of file includes/opentelemetry/exporters/otlp/otlp_grpc_log_record_exporter.h.


Public Member Functions | |
| OtlpGrpcLogRecordExporter () | |
| Create an OtlpGrpcLogRecordExporter with default exporter options. More... | |
| OtlpGrpcLogRecordExporter (const OtlpGrpcLogRecordExporterOptions &options, const std::shared_ptr< OtlpGrpcClient > &client) | |
| Create an OtlpGrpcLogRecordExporter using specified OtlpGrpcClient. More... | |
| OtlpGrpcLogRecordExporter (const OtlpGrpcLogRecordExporterOptions &options) | |
| Create an OtlpGrpcLogRecordExporter with user specified options. More... | |
| ~OtlpGrpcLogRecordExporter () override | |
| OtlpGrpcLogRecordExporter (const OtlpGrpcLogRecordExporter &)=delete | |
| OtlpGrpcLogRecordExporter (OtlpGrpcLogRecordExporter &&)=delete | |
| OtlpGrpcLogRecordExporter & | operator= (const OtlpGrpcLogRecordExporter &)=delete |
| OtlpGrpcLogRecordExporter & | operator= (OtlpGrpcLogRecordExporter &&)=delete |
| std::unique_ptr< opentelemetry::sdk::logs::Recordable > | MakeRecordable () noexcept override |
| Creates a recordable that stores the data in protobuf. More... | |
| opentelemetry::sdk::common::ExportResult | Export (const nostd::span< std::unique_ptr< opentelemetry::sdk::logs::Recordable >> &records) noexcept override |
| Exports a vector of log records to the configured gRPC endpoint. More... | |
| bool | ForceFlush (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept override |
| Force flush the exporter. More... | |
| bool | Shutdown (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept override |
| Shutdown this exporter. More... | |
| const std::shared_ptr< OtlpGrpcClient > & | GetClient () const noexcept |
| Get the Client object. More... | |
| OtlpGrpcLogRecordExporter () | |
| Create an OtlpGrpcLogRecordExporter with default exporter options. More... | |
| OtlpGrpcLogRecordExporter (const OtlpGrpcLogRecordExporterOptions &options, const std::shared_ptr< OtlpGrpcClient > &client) | |
| Create an OtlpGrpcLogRecordExporter using specified OtlpGrpcClient. More... | |
| OtlpGrpcLogRecordExporter (const OtlpGrpcLogRecordExporterOptions &options) | |
| Create an OtlpGrpcLogRecordExporter with user specified options. More... | |
| ~OtlpGrpcLogRecordExporter () override | |
| OtlpGrpcLogRecordExporter (const OtlpGrpcLogRecordExporter &)=delete | |
| OtlpGrpcLogRecordExporter (OtlpGrpcLogRecordExporter &&)=delete | |
| OtlpGrpcLogRecordExporter & | operator= (const OtlpGrpcLogRecordExporter &)=delete |
| OtlpGrpcLogRecordExporter & | operator= (OtlpGrpcLogRecordExporter &&)=delete |
| std::unique_ptr< opentelemetry::sdk::logs::Recordable > | MakeRecordable () noexcept override |
| Creates a recordable that stores the data in protobuf. More... | |
| opentelemetry::sdk::common::ExportResult | Export (const nostd::span< std::unique_ptr< opentelemetry::sdk::logs::Recordable >> &records) noexcept override |
| Exports a vector of log records to the configured gRPC endpoint. More... | |
| bool | ForceFlush (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept override |
| Force flush the exporter. More... | |
| bool | Shutdown (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept override |
| Shutdown this exporter. More... | |
| const std::shared_ptr< OtlpGrpcClient > & | GetClient () const noexcept |
| Get the Client object. More... | |
Friends | |
| class | OtlpGrpcLogRecordExporterTestPeer |
| exporter::otlp::OtlpGrpcLogRecordExporter::OtlpGrpcLogRecordExporter | ( | ) |
Create an OtlpGrpcLogRecordExporter with default exporter options.
| exporter::otlp::OtlpGrpcLogRecordExporter::OtlpGrpcLogRecordExporter | ( | const OtlpGrpcLogRecordExporterOptions & | options, |
| const std::shared_ptr< OtlpGrpcClient > & | client | ||
| ) |
Create an OtlpGrpcLogRecordExporter using specified OtlpGrpcClient.
| options | options to create exporter |
| client | the gRPC client to use |
| exporter::otlp::OtlpGrpcLogRecordExporter::OtlpGrpcLogRecordExporter | ( | const OtlpGrpcLogRecordExporterOptions & | options | ) |
Create an OtlpGrpcLogRecordExporter with user specified options.
| options | An object containing the user's configuration options. |
|
override |
|
delete |
|
delete |
| exporter::otlp::OtlpGrpcLogRecordExporter::OtlpGrpcLogRecordExporter | ( | ) |
Create an OtlpGrpcLogRecordExporter with default exporter options.
| exporter::otlp::OtlpGrpcLogRecordExporter::OtlpGrpcLogRecordExporter | ( | const OtlpGrpcLogRecordExporterOptions & | options, |
| const std::shared_ptr< OtlpGrpcClient > & | client | ||
| ) |
Create an OtlpGrpcLogRecordExporter using specified OtlpGrpcClient.
| options | options to create exporter |
| client | the gRPC client to use |
| exporter::otlp::OtlpGrpcLogRecordExporter::OtlpGrpcLogRecordExporter | ( | const OtlpGrpcLogRecordExporterOptions & | options | ) |
Create an OtlpGrpcLogRecordExporter with user specified options.
| options | An object containing the user's configuration options. |
|
override |
|
delete |
|
delete |
|
overridenoexcept |
Exports a vector of log records to the configured gRPC endpoint.
Guaranteed to return after a timeout specified from the options passed to the constructor.
| records | A list of log records. |
|
overridenoexcept |
Exports a vector of log records to the configured gRPC endpoint.
Guaranteed to return after a timeout specified from the options passed to the constructor.
| records | A list of log records. |
|
overridenoexcept |
Force flush the exporter.
| timeout | an option timeout, default to max. |
|
overridenoexcept |
Force flush the exporter.
| timeout | an option timeout, default to max. |
|
noexcept |
Get the Client object.
|
noexcept |
Get the Client object.
|
overridenoexcept |
Creates a recordable that stores the data in protobuf.
|
overridenoexcept |
Creates a recordable that stores the data in protobuf.
|
delete |
|
delete |
|
delete |
|
delete |
|
overridenoexcept |
Shutdown this exporter.
| timeout | The maximum time to wait for the shutdown method to return. |
|
overridenoexcept |
Shutdown this exporter.
| timeout | The maximum time to wait for the shutdown method to return. |
|
friend |
Definition at line 110 of file includes/opentelemetry/exporters/otlp/otlp_grpc_log_record_exporter.h.