struct Loki::Client::Config

Defined in:

config.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(address : String, username : Nil | String = nil, password : Nil | String = nil, ca_cert : Path | Nil = nil, tls_skip_verify : Bool = false, client_cert : Path | Nil = nil, key_path : Path | Nil = nil, org_id : Nil | String = nil, query_tags : Nil | String = nil, bearer_token : Nil | String = nil, bearer_token_file : Nil | String = nil, auth_header : Nil | String = nil, proxy : Loki::ProxyConfig | Nil = nil) #

[View source]

Class Method Detail

def self.from_env #

[View source]

Instance Method Detail

def address : String #

[View source]
def auth_header : String | Nil #

[View source]
def bearer_token : String | Nil #

[View source]
def bearer_token_file : String | Nil #

[View source]
def ca_cert : Path | Nil #

[View source]
def client_cert : Path | Nil #

[View source]
def key_path : Path | Nil #

[View source]
def org_id : String | Nil #

[View source]
def password : String | Nil #

[View source]
def proxy : Loki::ProxyConfig | Nil #

[View source]
def query_tags : String | Nil #

[View source]
def req_headers #

[View source]
def tls_context : HTTP::Client::TLSContext | Nil #

[View source]
def tls_skip_verify? : Bool #

[View source]
def username : String | Nil #

[View source]