Skip to main content
Version: v2.0

Configuration

Generic configuration

The generic configuration is applicable for all traces, logs and metrics. It must be applied to use observability in Godspeed. It includes setting up various OTel environment variables and the framework environment variables.

OTEL_ENABLED

Enable OTEL in your service using Godspeed CLI by setting OTEL_ENABLED to true. You can alternatively set it in the .env file of your service.

export OTEL_ENABLED=true

OTEL_SERVICE_NAME

Specify the service name by which you want to setup observability. Set it as env variable or in the .env file of your service.

export OTEL_SERVICE_NAME=sample_proj1