Liking cljdoc? Tell your friends :D

ken.honeycomb

Integration support for publishing ken events to honeycomb.io.

Integration support for publishing ken events to honeycomb.io.
raw docstring

add-span-eventclj

(add-span-event data)

Add a point-in-time event to the enclosing span, such as an error.

Add a point-in-time event to the enclosing span, such as an error.
sourceraw docstring

(add-span-link target-trace target-span)
(add-span-link current-trace current-span target-trace target-span)

Add a link from the identified (or current) span to another trace or span.

Add a link from the identified (or current) span to another trace or span.
sourceraw docstring

honey-observerclj

(honey-observer dataset write-key & {:as opts})

Constructs a new HoneyObserver component for the provided dataset, using the secret write-key. Other options will be merged into the component.

Also accepts:

  • :transform A function called on every event before sending it. Should return an updated event map, or nil to drop the event.
  • :response-observer A map of callbacks when events are accepted or rejected on sending.
Constructs a new `HoneyObserver` component for the provided dataset, using
the secret write-key. Other options will be merged into the component.

Also accepts:

- `:transform`
  A function called on every event before sending it. Should return an
  updated event map, or nil to drop the event.
- `:response-observer`
  A map of callbacks when events are accepted or rejected on sending.
sourceraw docstring

rename-default-fieldsclj

(rename-default-fields event)

Transforming function which renames some ken keywords to match the default Honeycomb schema.

Transforming function which renames some ken keywords to match the default
Honeycomb schema.
sourceraw docstring

watch-linkedcljmacro

(watch-linked data & body)

Observe the work being done in this form as a separate subtrace which will be linked to the enclosing span. The provided data is set on the new span, as in ken.core/watch.

Observe the work being done in this form as a separate subtrace which will be linked to
the enclosing span. The provided data is set on the new span, as in `ken.core/watch`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close