prom

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMttpRouteMetrics

func NewMttpRouteMetrics(serverName, routeIdentifier string) *mttpRouteMetrics

Types

type MttpRouteMetricer

type MttpRouteMetricer interface {
	IncremementStatusCode(statusCode int)
}

mttpRouteMetricer is an interface that is implmeneted by the mttpRouteMetrics struct it provides a means to create and increment prometheus counters for a given server, and route identifier

Jump to

Keyboard shortcuts

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