Nickolaos Kas <
redh...@gmail.com> writes:
> Thank you very much Sanel
> I see my mistake, and now at least I can see packets with metrics going to
> the database.
Great!
> One other thing I noticed about this module is that there is little
> information in the log. For graphite I get logs like
> *INFO [2022-04-28 14:50:23,962] clojure-agent-send-off-pool-2 -
> riemann.graphite - Connecting to {:host mon_graph_host1, :port 2003}*
> *INFO [2022-04-28 14:50:23,972] clojure-agent-send-off-pool-1 -
> riemann.graphite - Connected to 10.226.105.149*
> ...
> But for the influxdb module I get nothing. I had the servername wrong, and
> no error was displayed, and also there is no confirmation if things are ok.
> Is there a way to enable logging verbosity for the influxdb2?
Yes, graphite code will print these logs at startup [1], but influxdb2
will not, because there isn't any logging code, except this [2].
I'm not sure why it didn't complain for a bad connection; maybe influx
java client will keep things silent, assuming influx server would get up
at some point...
> Best regards
> Nick
[1]
https://github.com/riemann/riemann/blob/main/src/riemann/graphite.clj#L146
[2]
https://github.com/riemann/riemann/blob/main/src/riemann/influxdb2.clj#L53
> To view this discussion on the web visit
https://groups.google.com/d/msgid/riemann-users/52ec49d2-edf2-409e-a382-734b99d13114n%40googlegroups.com.