Versions in this module Expand all Collapse all v0 v0.8.0 Mar 24, 2022 Changes in this version type Config + Home bool v0.7.0 Nov 19, 2021 Changes in this version + type Aggregation struct + Chart string + Options AggregationOptions + Query string + Times AggregationTimes + type AggregationOptions struct + BreakDownBy string + BreakDownByFields []string + BreakDownByFilters []string + HorizontalAxisField string + HorizontalAxisLimit string + HorizontalAxisOperation string + HorizontalAxisOrder string + SizeByField string + SizeByOperation string + SliceBy string + VerticalAxisField string + VerticalAxisOperation string + type AggregationTimes struct + TimeEnd int64 + TimeStart int64 + type Bucket struct + Count int64 + Interval int64 + type Config struct + Address string + Database string + Description string + DisplayName string + MaterializedColumns []string + Name string + Password string + ReadTimeout string + Username string + WriteTimeout string + type FieldNumber struct + Key []string + Value []float64 + type FieldString struct + Key []string + Value []string + type Fields struct + Number []string + String []string + type Instance struct + Name string + func New(config Config) (*Instance, error) + func (i *Instance) GetAggregation(ctx context.Context, aggregation Aggregation) ([]map[string]interface{}, []string, error) + func (i *Instance) GetFields(filter string, fieldType string) []string + func (i *Instance) GetLogs(ctx context.Context, query, order, orderBy string, ...) ([]map[string]interface{}, []string, int64, int64, []Bucket, error) + func (i *Instance) GetRawQueryResults(ctx context.Context, query string) ([][]interface{}, []string, error) + type Row struct + App string + Cluster string + Container string + FieldsNumber FieldNumber + FieldsString FieldString + Host string + Log string + Namespace string + Pod string + Timestamp time.Time + type VisualizationRow struct + Label string + Value float64