Skip to content

Commit 1d5df81

Browse files
authored
Merge pull request #469 from humivo/MeterProviderDoc
Add Meter Provider documentation
2 parents 68d93c9 + 8376488 commit 1d5df81

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/docs/getting-started/lambda/lambda-python.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ By default, the ADOT Lambda layer uses the [config.yaml](https://github.com/aws-
6565
which exports telemetry data to AWS X-Ray. To customize the Collector config,
6666
see the [main Lambda section for custom configuration instructions](/docs/getting-started/lambda#custom-configuration-for-the-adot-collector-on-lambda)
6767

68+
The ADOT Python Lambda Layer can also be configured to set a Meter Provider with an appropriate reader and exporter if the `OTEL_METRICS_EXPORTER` environment variable is set to the values noted [here](https://opentelemetry.io/docs/reference/specification/sdk-environment-variables/#exporter-selection).
69+
The `OTEL_EXPORTER_OTLP_PROTOCOL` environment variable should also be set in correlation to the metrics exporter with [these supported values](https://opentelemetry.io/docs/reference/specification/protocol/exporter/#specify-protocol).
70+
If these environment variables are not set, then a default Meter Provider with no readers will be set and cannot be overriden.
6871

6972
<SectionSeparator />
7073

0 commit comments

Comments
 (0)