Documentation ¶
Index ¶
Constants ¶
const ( // BatchLogsProcessorScheduleDelayKey is the delay interval between two // consecutive exports (i.e. 5000). BatchLogsProcessorScheduleDelayKey = "OTEL_BLRP_SCHEDULE_DELAY" // BatchLogsProcessorExportTimeoutKey is the maximum allowed time to // export data (i.e. 3000). BatchLogsProcessorExportTimeoutKey = "OTEL_BLRP_EXPORT_TIMEOUT" // BatchLogsProcessorMaxQueueSizeKey is the maximum queue size (i.e. 2048). BatchLogsProcessorMaxQueueSizeKey = "OTEL_BLRP_MAX_QUEUE_SIZE" // BatchLogsProcessorMaxExportBatchSizeKey is the maximum batch size (i.e. // 512). Note: it must be less than or equal to // EnvBatchLogsProcessorMaxQueueSize. BatchLogsProcessorMaxExportBatchSizeKey = "OTEL_BLRP_MAX_EXPORT_BATCH_SIZE" )
Environment variable names.
Variables ¶
This section is empty.
Functions ¶
func BatchLogsProcessorExportTimeout ¶
BatchLogsProcessorExportTimeout returns the environment variable value for the OTEL_BLRP_EXPORT_TIMEOUT key if it exists, otherwise defaultValue is returned.
func BatchLogsProcessorMaxExportBatchSize ¶
BatchLogsProcessorMaxExportBatchSize returns the environment variable value for the OTEL_BLRP_MAX_EXPORT_BATCH_SIZE key if it exists, otherwise defaultValue is returned.
func BatchLogsProcessorMaxQueueSize ¶
BatchLogsProcessorMaxQueueSize returns the environment variable value for the OTEL_BLRP_MAX_QUEUE_SIZE key if it exists, otherwise defaultValue is returned.
func BatchLogsProcessorScheduleDelay ¶
BatchLogsProcessorScheduleDelay returns the environment variable value for the OTEL_BLRP_SCHEDULE_DELAY key if it exists, otherwise defaultValue is returned.
Types ¶
This section is empty.