opencensus_honeycomb v0.3.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)

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.