metrics

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recorder

type Recorder interface {
	ReportRequestDuration(path string, fn func())

	CountServerError()

	CountDatabaseCall()

	CountAppleMusicRequest()
	CountSpotifyRequest()
	CountDeezerRequest()
}

func NewPrometheusMetricsRecorder

func NewPrometheusMetricsRecorder() (Recorder, error)

Jump to

Keyboard shortcuts

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