Skip to main content

hc-spans

I wanted a simple way to send trace data to Honeycomb from deno & deno deploy apps. See the honeycomb docs for more info on Distributed Tracing and example.ts for sample usage.

I understand OpenTelemetry is the recommended method for both instrumenting code and sending trace data to honeycomb. However at the moment the default SDKs don’t seem to support Deno. Also to be honest I find it incredibly hard to understand how all the otel libraries work. Fortunately Honeycomb still supports manually sending JSON span data over http. That’s what this library does.

Where possible spans are sent using attribute names outlined by honeycomb. When sending ad-hoc/extra data consider using opentelemetry semantic conventions