Created
May 16, 2014 14:33
-
-
Save borntyping/170709557705dba049cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARN [2014-05-16 15:32:48,506] riemann task 2 - riemann.streams - riemann.config$update_index$update__18502@7ae2fec8 threw | |
java.lang.IllegalArgumentException: No implementation of method: :update of protocol: #'riemann.index/Index found for class: nil | |
at clojure.core$_cache_protocol_fn.invoke(core_deftype.clj:541) | |
at riemann.index$fn__8454$G__8402__8461.invoke(index.clj:18) | |
at riemann.core$update_index.invoke(core.clj:179) | |
at riemann.config$update_index$update__18502.invoke(config.clj:140) | |
at riemann.streams$default$stream__9829$fn__9840.invoke(streams.clj:1180) | |
at riemann.streams$default$stream__9829.invoke(streams.clj:1180) | |
at riemann.streams$rate$tick__9319$fn__9330.invoke(streams.clj:769) | |
at riemann.streams$rate$tick__9319.invoke(streams.clj:769) | |
at clojure.lang.AFn.applyToHelper(AFn.java:159) | |
at clojure.lang.AFn.applyTo(AFn.java:151) | |
at clojure.core$apply.invoke(core.clj:617) | |
at clojure.core$with_bindings_STAR_.doInvoke(core.clj:1788) | |
at clojure.lang.RestFn.invoke(RestFn.java:425) | |
at clojure.lang.AFn.applyToHelper(AFn.java:163) | |
at clojure.lang.RestFn.applyTo(RestFn.java:132) | |
at clojure.core$apply.invoke(core.clj:621) | |
at clojure.core$bound_fn_STAR_$fn__4102.doInvoke(core.clj:1810) | |
at clojure.lang.RestFn.invoke(RestFn.java:397) | |
at riemann.streams$periodically_until_expired$wrapper__9017.invoke(streams.clj:427) | |
at riemann.time.Every.run(time.clj:55) | |
at riemann.time$run_tasks_BANG_$fn__492$fn__493.invoke(time.clj:153) | |
at riemann.time$run_tasks_BANG_$fn__492.invoke(time.clj:152) | |
at riemann.time$run_tasks_BANG_.invoke(time.clj:146) | |
at riemann.time$start_BANG_$fn__512$fn__513.invoke(time.clj:190) | |
at clojure.lang.AFn.applyToHelper(AFn.java:159) | |
at clojure.lang.AFn.applyTo(AFn.java:151) | |
at clojure.core$apply.invoke(core.clj:617) | |
at clojure.core$with_bindings_STAR_.doInvoke(core.clj:1788) | |
at clojure.lang.RestFn.invoke(RestFn.java:425) | |
at clojure.lang.AFn.applyToHelper(AFn.java:163) | |
at clojure.lang.RestFn.applyTo(RestFn.java:132) | |
at clojure.core$apply.invoke(core.clj:621) | |
at clojure.core$bound_fn_STAR_$fn__4102.doInvoke(core.clj:1810) | |
at clojure.lang.RestFn.invoke(RestFn.java:397) | |
at clojure.lang.AFn.run(AFn.java:24) | |
at java.lang.Thread.run(Thread.java:744) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Write logs to the console | |
(logging/init :file "/var/log/riemann/tls.log") | |
(tcp-server :port 5554, :host "127.0.0.1", :tls? true, :key "/etc/riemann.d/tls/host.pkcs8.key", :cert "/etc/riemann.d/tls/host.crt", :ca-cert "/etc/riemann.d/tls/rootCA.crt") | |
; Include configuration files in conf.d and the instance configuration file | |
(riemann.config/include "/etc/riemann.d/tls/instance.config") | |
(riemann.config/include "/etc/riemann.d/tls/conf.d") | |
; Expire old events from the index every 5 seconds. | |
(periodically-expire 5) | |
; Keep events in the index for 5 minutes by default. | |
(let [index (default :ttl 300 (update-index (index)))] | |
; Inbound events will be passed to these streams: | |
(streams | |
; Index all events immediately. | |
(index) | |
; Calculate an overall rate of events. | |
(with {:metric 1 :state "ok" :service "events/sec"} (rate 5 index)) | |
; Log expired events. | |
(expired (fn [event] (info "expired" event))) | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, i have same exception on riemann.index/lookup and i'm stuck for a while.
Have you fix this exception? How?