Skip to content

marksto/telemere.axiom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telemere.axiom

Clojars Project

A set of things necessary for Telemere-to-Axiom.co integration.

Defines and operates through a configurable signal handler that prepares signals and periodically sends them in batches to the Ingest API.

Usage

Have com.taoensso/telemere on your classpath. The minimum supported version of Telemere is 1.0.0-RC1.

Add com.github.marksto/telemere.axiom to your project dependencies.

(require '[marksto.telemere.axiom :as mta])
(require '[taoensso.telemere :as tel])

(def handler-opts
  {:conn-opts {:api-token <AXIOM_API_TOKEN>
               :dataset   <AXIOM_DATASET>}})

(def handler-fn (mta/handler:axiom handler-opts))

(tel/add-handler! :axiom handler-fn)
; or
(tel/add-handler! :axiom handler-fn <dispatch-opts>)

Here <AXIOM_API_TOKEN> and <AXIOM_DATASET> are the values you configured in Axiom. For more details, see the Axiom Settings documentation.

Documentation

Please see the docstring of the handler:axiom function.

License

Licensed under EPL 1.0 (same as Clojure).

About

A set of things necessary for Telemere-to-Axiom integration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published