Skip to content

A simple honeycomb.io tracing library for Deno.

License

Notifications You must be signed in to change notification settings

mrmcc3/hc-spans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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