metrics

package
v0.0.0-...-3c22c5d Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMetricsEndpoint

func GetMetricsEndpoint(n, s string) (success, error metrics.Counter, duration metrics.Histogram)

GetMetricsEndpoint metric middleware

func InstrumentingMiddleware

func InstrumentingMiddleware(n, s string) endpoint.Middleware

InstrumentingMiddleware returns an endpoint middleware that add counters and histograms, tracks success as bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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