Skip to content

Commit 92810db

Browse files
committed
Add Meter Provider documentation
1 parent e1efed1 commit 92810db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ 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 default Meter Provider with readers if the OTEL_METRICS_EXPORTER environment variable is set to the values noted here:
69+
https://opentelemetry.io/docs/reference/specification/sdk-environment-variables/#exporter-selection. The OTEL_EXPORTER_OTLP_PROTOCOL environment variable should also be set
70+
in correlation to the metrics exporter with these supported values: https://opentelemetry.io/docs/reference/specification/protocol/exporter/#specify-protocol.
71+
If these environment variables are not set, then a default Meter Provider with no readers will be set and cannot be overriden.
6872

6973
<SectionSeparator />
7074

0 commit comments

Comments
 (0)