opencensus_honeycomb v0.2.0 Opencensus.Honeycomb.Decorator behaviour
Behaviour to add data to events before delivery. API not final.
Link to this section Summary
Callbacks
Transform event data. API not final.
Link to this section Callbacks
Link to this callback
decorate(attributes, opts)
decorate(attributes, opts)
decorate(
attributes :: Opencensus.Honeycomb.Event.event_data(),
opts :: keyword()
) :: Opencensus.Honeycomb.Event.event_data()
decorate( attributes :: Opencensus.Honeycomb.Event.event_data(), opts :: keyword() ) :: Opencensus.Honeycomb.Event.event_data()
Transform event data. API not final.
Takes an t:Event.event_data/0
(i.e. the span attributes after they've been flattened), and
your options. Returns replacment t:Event.event_data/0
.