[PR #157] [MERGED] feat: add OpenTelemetry tracing for workflow handlers #161

Closed
opened 2026-02-16 03:16:20 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/workflows-ts/pull/157
Author: @thucpn
Created: 8/28/2025
Status: Merged
Merged: 9/4/2025
Merged by: @marcusschiesser

Base: mainHead: tp/add-trace


📝 Commits (10+)

📊 Changes

16 files changed (+1099 additions, -7 deletions)

View changed files

.changeset/true-hands-roll.md (+7 -0)
demo/trace-events/README.md (+44 -0)
demo/trace-events/open-telemetry.ts (+44 -0)
demo/trace-events/package.json (+17 -0)
📝 docs/workflows/common_patterns/branching.mdx (+2 -2)
📝 docs/workflows/common_patterns/meta.json (+8 -1)
docs/workflows/common_patterns/tracing.mdx (+166 -0)
📝 packages/core/src/middleware/trace-events.ts (+28 -2)
packages/otel/package.json (+55 -0)
packages/otel/src/decorator.test.ts (+77 -0)
packages/otel/src/decorator.ts (+41 -0)
packages/otel/src/index.ts (+1 -0)
packages/otel/tsconfig.json (+11 -0)
packages/otel/vitest.config.ts (+9 -0)
📝 pnpm-lock.yaml (+588 -2)
📝 pnpm-workspace.yaml (+1 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/workflows-ts/pull/157 **Author:** [@thucpn](https://github.com/thucpn) **Created:** 8/28/2025 **Status:** ✅ Merged **Merged:** 9/4/2025 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `tp/add-trace` --- ### 📝 Commits (10+) - [`9d6154e`](https://github.com/run-llama/workflows-ts/commit/9d6154e3a51d2e0a3685408e411096405fae566f) feat: add OpenTelemetry tracing for workflow handlers - [`4272b27`](https://github.com/run-llama/workflows-ts/commit/4272b2775a6e6d3d977be7ab8a0f39ec0724ae0b) add open-telemetry example - [`1fdfb57`](https://github.com/run-llama/workflows-ts/commit/1fdfb57b035602144045a92305759ae089847178) add run-once example - [`fc768e6`](https://github.com/run-llama/workflows-ts/commit/fc768e66acd8e23fe7e0e3026338cad66f1e82b5) add tests - [`18ec6d1`](https://github.com/run-llama/workflows-ts/commit/18ec6d1a6ed37ae2d721481b930b2dd4350a0dbb) add changeset - [`1ae363a`](https://github.com/run-llama/workflows-ts/commit/1ae363ad395941b5c0ddc068d57485174bd851f1) add doc - [`6f8d24d`](https://github.com/run-llama/workflows-ts/commit/6f8d24d48821ca5ff0e0d31599eca6c0e001f7b8) Merge branch 'main' into tp/add-trace - [`12a0600`](https://github.com/run-llama/workflows-ts/commit/12a060077c530d10fc138dd5002df55945833153) fix format - [`05d7776`](https://github.com/run-llama/workflows-ts/commit/05d77768af9a039be389a901c61499ef51690ead) support optional @opentelemetry/api - [`6cd9ca2`](https://github.com/run-llama/workflows-ts/commit/6cd9ca2988f9f0c9e5045758a82ff49a1c77b0ef) add doc ### 📊 Changes **16 files changed** (+1099 additions, -7 deletions) <details> <summary>View changed files</summary> ➕ `.changeset/true-hands-roll.md` (+7 -0) ➕ `demo/trace-events/README.md` (+44 -0) ➕ `demo/trace-events/open-telemetry.ts` (+44 -0) ➕ `demo/trace-events/package.json` (+17 -0) 📝 `docs/workflows/common_patterns/branching.mdx` (+2 -2) 📝 `docs/workflows/common_patterns/meta.json` (+8 -1) ➕ `docs/workflows/common_patterns/tracing.mdx` (+166 -0) 📝 `packages/core/src/middleware/trace-events.ts` (+28 -2) ➕ `packages/otel/package.json` (+55 -0) ➕ `packages/otel/src/decorator.test.ts` (+77 -0) ➕ `packages/otel/src/decorator.ts` (+41 -0) ➕ `packages/otel/src/index.ts` (+1 -0) ➕ `packages/otel/tsconfig.json` (+11 -0) ➕ `packages/otel/vitest.config.ts` (+9 -0) 📝 `pnpm-lock.yaml` (+588 -2) 📝 `pnpm-workspace.yaml` (+1 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 03:16:20 -05:00
yindo closed this issue 2026-02-16 03:16:20 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/workflows-ts#161