Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add batch log record processor environment variable configs #2785

Merged
merged 9 commits into from
Sep 23, 2022
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ release.
([#2676](https://github.com/open-telemetry/opentelemetry-specification/pull/2676)).
- Align log SDK and API component naming
([#2768](https://github.com/open-telemetry/opentelemetry-specification/pull/2768)).
- Add environment variables for configuring the `BatchLogRecordProcessor`
([#2785](https://github.com/open-telemetry/opentelemetry-specification/pull/2785)).

### Resource

Expand Down
1 change: 1 addition & 0 deletions spec-compliance-matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ Note: Support for environment variables is optional.
|OTEL_LOG_LEVEL | - | - | + | [-][py1059] | + | - | - | | - | - | - |
|OTEL_PROPAGATORS | - | + | | + | + | + | - | - | - | - | - |
|OTEL_BSP_* | + | + | | + | + | + | - | + | - | - | - |
|OTEL_BLRP_* | | | | | | | | | | | |
|OTEL_EXPORTER_OTLP_* | + | + | | + | + | + | - | + | + | + | - |
|OTEL_EXPORTER_JAEGER_* | + | + | | + | + | - | - | | - | + | - |
|OTEL_EXPORTER_ZIPKIN_* | - | + | | + | + | - | - | - | - | + | - |
Expand Down
11 changes: 11 additions & 0 deletions specification/sdk-environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,17 @@ Depending on the value of `OTEL_TRACES_SAMPLER`, `OTEL_TRACES_SAMPLER_ARG` may b
| OTEL_BSP_MAX_QUEUE_SIZE | Maximum queue size | 2048 | |
| OTEL_BSP_MAX_EXPORT_BATCH_SIZE | Maximum batch size | 512 | Must be less than or equal to OTEL_BSP_MAX_QUEUE_SIZE |

## Batch LogRecord Processor

**Status**: [Experimental](document-status.md)

| Name | Description | Default | Notes |
| ------------------------------- | ---------------------------------------------- | ------- | ------------------------------------------------------ |
| OTEL_BLRP_SCHEDULE_DELAY | Delay interval between two consecutive exports | 5000 | |
| OTEL_BLRP_EXPORT_TIMEOUT | Maximum allowed time to export data | 30000 | |
reyang marked this conversation as resolved.
Show resolved Hide resolved
| OTEL_BLRP_MAX_QUEUE_SIZE | Maximum queue size | 2048 | |
| OTEL_BLRP_MAX_EXPORT_BATCH_SIZE | Maximum batch size | 512 | Must be less than or equal to OTEL_BLRP_MAX_QUEUE_SIZE |

## Attribute Limits

SDKs SHOULD only offer environment variables for the types of attributes, for
Expand Down