metrics

package
Version: v0.0.0-...-ffb091d Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DownloadCounter = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name: "escape_downloads",
			Help: "Number of downloads",
		},
	)
	UploadCounter = prometheus.NewCounter(
		prometheus.CounterOpts{
			Name: "escape_uploads",
			Help: "Number of uploads",
		},
	)
	ResponsesTotal = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Name: "escape_http_responses_total",
			Help: "The count of http responses issued, classified by code and method",
		},
		[]string{"code", "method"},
	)
	ResponsesLatency = prometheus.NewHistogramVec(
		prometheus.HistogramOpts{
			Name: "escape_http_responses_latency",
			Help: "The latency of http responses issued, classified by code and method",
		},
		[]string{"code", "method"},
	)
)

Functions

This section is empty.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL