Honeycomb · Cloudflare Pages docs
Hey community 👋
I have question about observability. Has anybody been able to successfully use Honeycomb plugin (https://developers.cloudflare.com/pages/functions/plugins/honeycomb/) with next-on-pages?
Honeycomb · Cloudflare Pages docs
The Honeycomb Pages Plugin automatically sends traces to Honeycomb for analysis and observability.
2 Replies
As far as I my understanding goes, the integration would not be strightforward, and I would have to patch the worker template here:
https://github.com/cloudflare/next-on-pages/blob/2b5c8f25e5471c407c1a52b0b9db99ae3e877fc5/packages/next-on-pages/templates/_worker.js/index.ts#L20
GitHub
next-on-pages/packages/next-on-pages/templates/_worker.js/index.ts ...
CLI to build and develop Next.js apps for Cloudflare Pages - cloudflare/next-on-pages
Am I correct with that assumption, or is there an easy way to make it work, and I am missing it