metrics

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RepoAuthRequired

func RepoAuthRequired()

RepoAuthRequired increments the counter of repositories that ask for authentication credentials.

func RepoFailed

func RepoFailed()

RepoFailed increments the counter of repositories failed.

func RepoNotFound

func RepoNotFound()

RepoNotFound increments the counter of repositories not found.

func RepoProcessed

func RepoProcessed(elapsed time.Duration)

RepoProcessed increments the counter of processed repositories and updates the average time it takes to process a repository.

func RepoProduceFailed

func RepoProduceFailed()

RepoProduceFailed increments the counter of failures producing repositories.

func RepoProduced

func RepoProduced()

RepoProduced increments the counter of produced repositories.

func RepoSkipped

func RepoSkipped()

RepoSkipped increments the counter of skipped repositories for processing.

func Start

func Start(addr string) error

Start will start the server at the given export and will expose the metric variables.

Types

This section is empty.

Jump to

Keyboard shortcuts

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