metrics

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const AppLabel = "prometheus-gitlab-notifier"

AppLabel is constant name of the application used

Variables

This section is empty.

Functions

func HandleInRouter

func HandleInRouter(r *mux.Router)

HandleInRouter registers prometheus metrics rendering in given router.

func Register

func Register(m prometheus.Collector)

Register new Prometheus metric Collector to the registry.

func ReportError

func ReportError(errorType string, remoteApp string)

ReportError to errors_total metric global for the whole application.

Types

This section is empty.

Jump to

Keyboard shortcuts

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