class

Log::InfluxBackend

Inherits Log::Backend < Reference < Object

Constants

Log = ::Log.for("log.influx_backend")

Constructors

new(token : String, org : String, bucket : String, location : String | URI = "localhost:8086", dispatcher : ::Log::Dispatcher | ::Log::DispatchMode = :async)
Source
new(config : Config, dispatcher : ::Log::Dispatcher | ::Log::DispatchMode = :async)
Source

Instance methods

client
Source
client=(client : HTTP::Client)
Source
close

Closes underlying resources used by this backend.

Source
config
Source
config=(config : Config)
Source
params(*args, **options)
Source
params(*args, **options, &)
Source
write(entry : Entry)

Writes the entry to this backend.

Source

Nested types