Configuration
The client reads configuration from constructor parameters first, then environment variables.
Priority:
- Explicit constructor args
- Environment variables
- SDK defaults
Environment variables:
NEXLA_SERVICE_KEY: used when no explicitservice_keyis provided.NEXLA_ACCESS_TOKEN: used when noservice_keyandaccess_tokenare provided.NEXLA_API_URL: used when nobase_urlis provided. Default:https://dataops.nexla.io/nexla-api.- OpenTelemetry:
OTEL_EXPORTER_OTLP_ENDPOINT,OTEL_EXPORTER_OTLP_TRACES_ENDPOINT,OTEL_EXPORTER_JAEGER_AGENT_HOST,OTEL_EXPORTER_ZIPKIN_ENDPOINT,OTEL_SERVICE_NAME.
Traceability:
- nexla_sdk/client.py:88
- nexla_sdk/telemetry.py:100