- Add OpenTelemetry support
- Set env var
OTEL_EXPORTER_OTLP_ENDPOINT
to the endpoint to send OpenTelemetry to OTEL_SERVICE_NAME
overrides the service name- Command line arguments
--otlp-endpoint
and--service-name
have been removed in favour of the environment variables - Import
@hasura/ndc-sdk-typescript/instrumentation
to useinitTelemetry
to initialize OpenTelemetry earlier in your startup, if necessary
- Set env var
Full Changelog: v4.0.0...v4.1.0