mrmcc3 / hc-spans

A simple honeycomb.io tracing library for Deno.

Home Page:https://deno.land/x/hc_spans

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A simple honeycomb.io tracing library for Deno.

https://deno.land/x/hc_spans

License:MIT License


Languages

Language:TypeScript 100.0%