class Loki::Client
- Loki::Client
- Reference
- Object
Defined in:
client.crconfig.cr
Constructors
Class Method Summary
Instance Method Summary
- #config : Config
- #list_label_values(name : String, start : Time, end_time : Time) : Loki::Model::LabelResponse
- #list_label_values(label : String, since : Time::Span = 1.hour) : Loki::Model::LabelResponse
- #list_labels(start : Time, end_time : Time) : Loki::Model::LabelResponse
- #list_labels(since : Time::Span = 1.hour) : Loki::Model::LabelResponse
- #query(query : String, limit : Int32, time : Time, direction : Loki::Direction) : Loki::Model::QueryResponse
- #query(query : String, limit : Int32 = 30)
- #query_range(query : String, limit : Int32, start : Time, end_time : Time, direction : Loki::Direction, step : Time::Span | Nil = nil, interval : Time::Span | Nil = nil) : Loki::Model::QueryResponse
- #query_range(query : String, limit : Int32 = 30)
- #series(matches : Array(String), start : Time, end_time : Time) : Loki::Model::SeriesResponse
- #series(matches : Array(String) = Array(String).new, since : Time::Span = 1.hour)
- #stats(query : String, start : Time, end_time : Time) : Loki::Model::IndexStatsResponse
- #stats(query : String, since = 1.hour)
Constructor Detail
Class Method Detail
Instance Method Detail
def list_label_values(name : String, start : Time, end_time : Time) : Loki::Model::LabelResponse
#
def query(query : String, limit : Int32, time : Time, direction : Loki::Direction) : Loki::Model::QueryResponse
#
def query_range(query : String, limit : Int32, start : Time, end_time : Time, direction : Loki::Direction, step : Time::Span | Nil = nil, interval : Time::Span | Nil = nil) : Loki::Model::QueryResponse
#
def series(matches : Array(String), start : Time, end_time : Time) : Loki::Model::SeriesResponse
#
def stats(query : String, start : Time, end_time : Time) : Loki::Model::IndexStatsResponse
#