metrics

package
v0.0.0-...-e97302c Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HttpMetricsEchoMiddleware

func HttpMetricsEchoMiddleware(prefix string) echo.MiddlewareFunc

func NewEchoServer

func NewEchoServer(prefix string) *echo.Echo

NewEchoServer returns an echo.Server with opinionated defaults

func RunMetricsServer

func RunMetricsServer(addr string, loggingEnabled ...bool)

RunMetricsServer exposes a server with "/metrics" route in prometheus format. Logging is enabled by default.

Types

This section is empty.

Jump to

Keyboard shortcuts

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