Shar is OpenTelemetry compliant. Shar can output metrics, traces and logs.

SHAR server will use OpenTelemetry if open telemetry environment variables are set.

SHAR respects the following Open Telemetry environment variables:

OTEL_EXPORTER_OTLP_ENDPOINT
OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
OTEL_EXPORTER_OTLP_LOGS_ENDPOINT
OTEL_SERVICE_NAME
OTEL_LOG_LEVEL
ENVIRONMENT
HOST_ID

Three sets of telemetry are sent to Open Telemetry.

  • The SHAR server sends telemetry regarding the server itself.
  • The Telemetry Server listens for messages on NATS, and translates them for open telemetry. The result is a full overview of workflow execution.
  • The SHAR client can also be enabled with Open Telemetry to send service task execution telemetry.