* feat(metrics): grand update * feat(metrics): fixed missing part in ee tracer * feat(assets): added missing arg * feat(metrics): fixed naming problems
17 lines
448 B
Go
17 lines
448 B
Go
package heuristics
|
|
|
|
import (
|
|
"github.com/prometheus/client_golang/prometheus"
|
|
)
|
|
|
|
type Heuristics interface {
|
|
IncreaseTotalEvents(eventType string)
|
|
List() []prometheus.Collector
|
|
}
|
|
|
|
type heuristicsImpl struct{}
|
|
|
|
func New(serviceName string) Heuristics { return &heuristicsImpl{} }
|
|
|
|
func (h *heuristicsImpl) List() []prometheus.Collector { return []prometheus.Collector{} }
|
|
func (h *heuristicsImpl) IncreaseTotalEvents(eventType string) {}
|