metrics

package
v0.0.0-...-d4f0681 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APICallEpilog

func APICallEpilog(start time.Time, endpoint string, responseCode int)

APICallEpilog observes the results and latency of an API call

func DependencyError

func DependencyError(name, operation string)

DependencyError provides a convenience method to hide some prometheus implementation details.

func ListenAndServe

func ListenAndServe()

ListenAndServeMetrics exposes prometheus metrics as /metrics on port 9090

Types

This section is empty.

Jump to

Keyboard shortcuts

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