metrics

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: MIT Imports: 8 Imported by: 11

Documentation

Overview

Package metrics has prometheus metric variables/functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthenticationInc

func AuthenticationInc(kind, variant, result string)

func AuthenticationRatelimitedInc

func AuthenticationRatelimitedInc(kind string)

func HTTPClientObserve

func HTTPClientObserve(ctx context.Context, pkg, method string, statusCode int, err error, start time.Time)

HTTPClientObserve tracks the result of an HTTP transaction in a metric, and logs the result.

func PanicInc

func PanicInc(pkg string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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