metrics

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNilMetrics

func NewNilMetrics() *nil

NewNilMetrics is the metrics mock constructor

func NewPrometheus

func NewPrometheus(appName string) *prometheus

NewPrometheus is the prometheus metric collector constructor

Types

type Metrics

type Metrics interface {
	CollectStartedQuery(query *event.Query)
	CollectFinishedQuery(query *event.Query, status string)
}

Metrics collector interface

Jump to

Keyboard shortcuts

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