class documentation
class OtelOptions: (source)
Options for apply_defaults.
| Instance Variable | collector |
OTLP collector endpoint (e.g. "http://localhost:4317"). If empty, falls back to OTEL_EXPORTER_OTLP_ENDPOINT, then "http://localhost:4317". |
| Instance Variable | metric |
How often the Core SDK exports metrics to the collector. Defaults to 10 seconds. Set this shorter than your Lambda timeout to ensure at least one export per invocation. |
| Instance Variable | service |
OTel service name resource attribute. If empty, falls back to OTEL_SERVICE_NAME, then AWS_LAMBDA_FUNCTION_NAME, then "temporal-lambda-worker". |
OTLP collector endpoint (e.g. "http://localhost:4317"). If empty, falls back to OTEL_EXPORTER_OTLP_ENDPOINT, then "http://localhost:4317".