Skip to content

Commit

Permalink
Updated batch log processor envvar keys from spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeBlanch committed Sep 30, 2022
1 parent d196c78 commit 7fea768
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/OpenTelemetry/Logs/BatchExportLogRecordProcessorOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
namespace OpenTelemetry.Logs
{
/// <summary>
/// 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.
/// </summary>
/// <remarks>
/// Notes:
Expand All @@ -32,20 +32,20 @@ namespace OpenTelemetry.Logs
/// to parse any of the supported environment variables.</item>
/// <item>The environment variable keys are currently experimental and
/// subject to change. See: <see
/// href="https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md#opentelemetry-environment-variable-specification">OpenTelemetry
/// Environment Variable Specification</see>.
/// 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</see>.
/// </item>
/// </list>
/// </remarks>
public class BatchExportLogRecordProcessorOptions : BatchExportProcessorOptions<LogRecord>
{
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()
{
Expand Down

0 comments on commit 7fea768

Please sign in to comment.