From 7fea768f9f521338c6094e3b38f5c6d36fadc10b Mon Sep 17 00:00:00 2001 From: Mikel Blanchard Date: Fri, 30 Sep 2022 12:58:42 -0700 Subject: [PATCH] Updated batch log processor envvar keys from spec. --- .../BatchExportLogRecordProcessorOptions.cs | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/OpenTelemetry/Logs/BatchExportLogRecordProcessorOptions.cs b/src/OpenTelemetry/Logs/BatchExportLogRecordProcessorOptions.cs index f0a30da0d5e..ea23f314e7c 100644 --- a/src/OpenTelemetry/Logs/BatchExportLogRecordProcessorOptions.cs +++ b/src/OpenTelemetry/Logs/BatchExportLogRecordProcessorOptions.cs @@ -20,10 +20,10 @@ namespace OpenTelemetry.Logs { /// - /// Batch log processor options. OTEL_DOTNET_BLP_MAX_QUEUE_SIZE, - /// OTEL_DOTNET_BLP_MAX_EXPORT_BATCH_SIZE, OTEL_DOTNET_BLP_EXPORT_TIMEOUT, - /// OTEL_DOTNET_BLP_SCHEDULE_DELAY environment variables are parsed during - /// object construction. + /// Batch log processor options. OTEL_BLRP_MAX_QUEUE_SIZE, + /// OTEL_BLRP_MAX_EXPORT_BATCH_SIZE, OTEL_BLRP_EXPORT_TIMEOUT, + /// OTEL_BLRP_SCHEDULE_DELAY environment variables are parsed during object + /// construction. /// /// /// Notes: @@ -32,20 +32,20 @@ namespace OpenTelemetry.Logs /// to parse any of the supported environment variables. /// The environment variable keys are currently experimental and /// subject to change. See: OpenTelemetry - /// Environment Variable Specification. + /// href="https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md#batch-logrecord-processor">OpenTelemetry + /// Environment Variable Specification - Batch LogRecord Processor. /// /// /// public class BatchExportLogRecordProcessorOptions : BatchExportProcessorOptions { - internal const string MaxQueueSizeEnvVarKey = "OTEL_DOTNET_BLP_MAX_QUEUE_SIZE"; + internal const string MaxQueueSizeEnvVarKey = "OTEL_BLRP_MAX_QUEUE_SIZE"; - internal const string MaxExportBatchSizeEnvVarKey = "OTEL_DOTNET_BLP_MAX_EXPORT_BATCH_SIZE"; + internal const string MaxExportBatchSizeEnvVarKey = "OTEL_BLRP_MAX_EXPORT_BATCH_SIZE"; - internal const string ExporterTimeoutEnvVarKey = "OTEL_DOTNET_BLP_EXPORT_TIMEOUT"; + internal const string ExporterTimeoutEnvVarKey = "OTEL_BLRP_EXPORT_TIMEOUT"; - internal const string ScheduledDelayEnvVarKey = "OTEL_DOTNET_BLP_SCHEDULE_DELAY"; + internal const string ScheduledDelayEnvVarKey = "OTEL_BLRP_SCHEDULE_DELAY"; public BatchExportLogRecordProcessorOptions() {