Skip to main content
From the agent folder, set one shared OTLP endpoint to export both traces and logs:
Setting an OTLP endpoint enables export automatically. Harnest includes the OTLP/HTTP exporter; no additional package is required. OTEL_SERVICE_NAME is optional and defaults to the compiled application name.

Send only one signal

Use a signal-specific endpoint when the collector routes traces and logs separately, or when you want only one signal:
Traces only
Logs only
If only one signal-specific endpoint is set, Harnest disables export of the other signal.

Runtime controls

Use the telemetry environment controls to set log level, console output, service identity, or disable the environment-configured sink. Standard OTLP headers, compression, timeout, resource, and sampling environment variables are passed to OpenTelemetry. Store tokens in deployment secrets.

Need fan-out?

Configure multiple in-process destinations.