← Code Exchange

Temporal Ruby + OpenTelemetry

Demonstrate Temporal Ruby SDK OpenTelemetry support for observability of workflow executions. Includes a simple workflow adapted from the Ruby SDK quickstart with support for logging traces to stdout with the console exporter or sending to Honeycomb.


⚠️ Community Contributed Project

This project was generously donated by one of our fabulous Temporal community members! We encourage you to check it out, but urge caution as Temporal does not formally support or endorse this project.

This project demonstrates how to integrate Temporal Ruby with OpenTelemetry for observability of your workflow executions. It includes:

  • Basic OpenTelemetry Integration: Currently instrumented for traces only
  • Temporal Workflow: A simple workflow adapted from the official Ruby quickstart
  • Two trace backend options: Log to stdout with the console exporter and send to Honeycomb with the OTLP exporter

The focus of this project is to show the bare minimum requirements for instrumenting a ruby app with OpenTelemetry tracing. It is not a complete demonstration of the full observability capabilities of the Temporal Ruby SDK.

Temporal Ruby + OpenTelemetry screenshot


Language

Ruby
💖 Community telemetryopentelemetry

About the Author

Close-up portrait of a smiling person with curly dark hair and bright eyes looking at the camera against a light background.

Lar Van Der Jagt

Staff Platform Engineer