class

Loki::Client

Inherits Reference < Object

Constructors

Class methods

from_env
Source

Instance methods

buildinfo
Source
config
Source
detected_field_values(name : String, query : String, start : Time, end_time : Time, limit : Int32 = 1000, line_limit : Int32 = 100, step : Time::Span | Nil = nil) : Loki::Model::DetectedFieldValuesResponse
Source
detected_fields(query : String, start : Time, end_time : Time, limit : Int32 = 1000, line_limit : Int32 = 100, step : Time::Span | Nil = nil) : Loki::Model::DetectedFieldsResponse
Source
get_config(mode : String | Nil = nil) : JSON::Any
Source
list_label_values(name : String, start : Time, end_time : Time) : Loki::Model::LabelResponse
Source
list_label_values(label : String, since : Time::Span = 1.hour) : Loki::Model::LabelResponse
Source
list_labels(start : Time, end_time : Time) : Loki::Model::LabelResponse
Source
list_labels(since : Time::Span = 1.hour) : Loki::Model::LabelResponse
Source
log_level
Source
metrics
Source
patterns(query : String, start : Time, end_time : Time, step : Time::Span | Nil = nil) : Loki::Model::PatternsResponse
Source
query(query : String, limit : Int32, time : Time, direction : Loki::Direction) : Loki::Model::QueryResponse
Source
query(query : String, limit : Int32 = 30)
Source
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
Source
query_range(query : String, limit : Int32 = 30)
Source
ready?
Source
series(matches : Array(String), start : Time, end_time : Time) : Loki::Model::SeriesResponse
Source
series(matches : Array(String) = Array(String).new, since : Time::Span = 1.hour)
Source
services
Source
stats(query : String, start : Time, end_time : Time) : Loki::Model::IndexStatsResponse
Source
stats(query : String, since = 1.hour)
Source
tail(query : String, limit : Int32 = 100, delay_for : Int32 = 0, start : Time | Nil = nil) : HTTP::WebSocket
Source
tail(query : String, limit : Int32 = 100, delay_for : Int32 = 0, start : Time | Nil = nil, &block : Loki::Model::TailResponse -> ) : Nil
Source
volume(query : String, start : Time, end_time : Time, limit : Int32 = 100, target_labels : String | Nil = nil, aggregate_by : String | Nil = nil) : Loki::Model::VolumeResponse
Source
volume_range(query : String, start : Time, end_time : Time, limit : Int32 = 100, step : Time::Span | Nil = nil, target_labels : String | Nil = nil, aggregate_by : String | Nil = nil) : Loki::Model::VolumeResponse
Source

Nested types