backend

package
v0.0.0-...-0f8ae5d Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EventsAppended = prometheus.NewCounterVec(prometheus.CounterOpts{
		Namespace: "fes",
		Subsystem: "backend",
		Name:      "events_appended_total",
		Help:      "Count of appended events (including any internal events).",
	}, []string{"eventType"})

	EventDelay = prometheus.NewSummary(prometheus.SummaryOpts{
		Namespace: "fes",
		Subsystem: "backend",
		Name:      "event_propagation_delay",
		Help:      "Delay between event publish and receive by the subscribers.",
		Objectives: map[float64]float64{
			0:     0.0001,
			0.001: 0.0001,
			0.01:  0.0001,
			0.02:  0.0001,
			0.1:   0.0001,
			0.25:  0.0001,
			0.5:   0.0001,
			0.75:  0.0001,
			0.9:   0.0001,
			0.98:  0.0001,
			0.99:  0.0001,
			0.999: 0.0001,
			1:     0.0001,
		},
	})
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
package mem contains an implementation of the fes backend using an in-memory cache.
package mem contains an implementation of the fes backend using an in-memory cache.

Jump to

Keyboard shortcuts

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