Skip to content

martinjt/honeycomb-backlink-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 

Repository files navigation

Back link exporter for Honeycomb

This exporter will generate a SpanLink with the inverse SpanId/TraceId properties in Honeycomb. This allows navigation from each side of the SpanLink and therefore opens up some interesting usecases for modelling Span data for complex systems.

Usecases

The main usecase this was developed for is in Messaging/Event streaming architectures whereby a producer creates multiple messages in a single "batch", therefore being a trace parent isn't viable, however seeing the link is useful.

Methodology

In OpenTelemetry, Links are created only when you generate a span, and therefore there is no generic mechanism to add reverse links. In Honeycomb however, we have an API for receiving Events that can also receive SpanLinks.

The Exporter is added to the pipeline, and whenever it sees a SpanLink on a span, it will generate the inverse link and send that to the honeycomb API.

Configuration

processors:
  honeycombbacklinkexporter:
    apikey: "<key>"

CAUTION

This has had limited testing. Although it will likely work fine, and not pose a risk to the rest of your telemetry pipeline, you have been warned.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages