metrics

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 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 Metrics

type Metrics struct {
	DeployedProcesses         prometheus.Counter
	RemovedProcesses          prometheus.Counter
	DeployedConditionalEvents prometheus.Counter
	RemovedConditionalEvents  prometheus.Counter
	DeployedAnalyticsEvents   prometheus.Counter
	RemovedAnalyticsEvents    prometheus.Counter
	// contains filtered or unexported fields
}

func New

func New() *Metrics

func (*Metrics) Serve

func (this *Metrics) Serve(ctx context.Context, port string) *Metrics

func (*Metrics) ServeHTTP

func (this *Metrics) ServeHTTP(writer http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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