OpenTelemetry + Hono

Hi there, has anyone an example on how to integrate OpenTelemetry with Hono? I found this PR on hono: https://github.com/honojs/middleware/pull/901 But it looks like the node-SDK package isn't supportewd on Cloudflare Worker. Gives startup, compile issues. Also found this: https://github.com/evanderkoogh/otel-cf-workers But I have zero clue on how to add it to hono. The setup I tried doesn't log anything 😦
GitHub
feat(otel): Add OpenTelemetry middleware by dahlia · Pull Request #...
This middleware addresses honojs/hono#1864. For usage, see also the README file.
GitHub
GitHub - evanderkoogh/otel-cf-workers: An OpenTelemetry compatible ...
An OpenTelemetry compatible library for instrumenting and exporting traces for Cloudflare Workers - evanderkoogh/otel-cf-workers
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?