metrics

package
v0.1.0-RC1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

********************************************************

Package Metrics provides an exporter of gateway's connection-level metrics

/*********************************************************

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartMetricsManager

func StartMetricsManager(router *chi.Mux)

Types

type Metrics

type Metrics struct {
	ConnectionFlow map[string]*event.ConnectionStatusAttr
}
var (
	MyMetricsManager Metrics
)

func (*Metrics) GetConnectionMetrics

func (m *Metrics) GetConnectionMetrics(w http.ResponseWriter, _ *http.Request)

func (*Metrics) PostConnectionMetrics

func (m *Metrics) PostConnectionMetrics(w http.ResponseWriter, r *http.Request)

func (*Metrics) Routes

func (m *Metrics) Routes(r *chi.Mux) chi.Router

Jump to

Keyboard shortcuts

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