metrics

package
v0.0.0-...-4cd1efa Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HTTPGetFailTotal = prometheus.NewCounterVec(
	prometheus.CounterOpts{
		Namespace: namespace,
		Name:      "http_get_fail_total",
		Help:      "The total fail count of http get.",
	},
	[]string{"path"},
)

HTTPGetFailTotal returns the total fail count of http get.

View Source
var HTTPGetSuccessfulTotal = prometheus.NewCounterVec(
	prometheus.CounterOpts{
		Namespace: namespace,
		Name:      "http_get_successful_total",
		Help:      "The total successful count of http get.",
	},
	[]string{"code", "path"},
)

HTTPGetSuccessfulTotal returns the total successful count of http get.

View Source
var HTTPGetTotal = prometheus.NewCounterVec(
	prometheus.CounterOpts{
		Namespace: namespace,
		Name:      "http_get_total",
		Help:      "The total count of http get.",
	},
	[]string{"path"},
)

HTTPGetTotal returns the total successful count of http get.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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