the2bears / clojure-metrics-splunk

A Splunk reporter for use with the metrics-clojure library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

metrics-clojure-splunk

A metrics-clojure reporter to use with Splunk. Mostly copied from an existing reporter, and largely untested yet. Uses the metrics-splunk code, which does not have any maven presence. I have to figure out how to package that.

(def registry (new-registry))
(def test-meter (meter registry ["test" "meters"  "metrics-test"]))
(def sp-reporter (splunk/reporter registry {:host "localhost" :port 8089
                                            :username "admin" :password "changeme"
                                            :scheme "https" :ssl-security-protocol "TLSv1_2"}
                                            :app "app-context" :owner "owner-context"))

License

Copyright © William Swaney and Steve Losh

Distributed under the MIT/X11 license, same as the original metrics-clojure library.

About

A Splunk reporter for use with the metrics-clojure library

License:MIT License


Languages

Language:Clojure 100.0%