differ

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Querier

type Querier struct {
	Query     Query
	Client    *elastic.Client
	Histogram prometheus.Histogram
	Gauge     prometheus.Gauge
}

func NewQuerier

func NewQuerier(q Query, client *elastic.Client) Querier

func (Querier) Run

func (q Querier) Run(ctx context.Context)

type Query

type Query struct {
	Index      string `json:"index"`
	TimeField  string `json:"timeField"`
	QueryKey   string `json:"queryKey"`
	QueryValue string `json:"queryValue"`
	TimeLayout string `json:"timeLayout"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL