metrics

package
v0.0.0-...-3ff2ba2 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Copyright (c) technicianted. All rights reserved. Licensed under the MIT License.

Index

Constants

View Source
const (
	Subsystem = "http_proxy"

	UpstreamHTTPProtoLabel = "upstream_http"
	HTTPStatusLabel        = "status"
	ErrorLabel             = "error"
)

Variables

View Source
var (
	RequestsTotal = promauto.NewCounterVec(
		prometheus.CounterOpts{
			Namespace: metricscommon.Namespace,
			Subsystem: Subsystem,
			Name:      "requests_total",
			Help:      "Total requests proxied http requests",
		},
		[]string{UpstreamHTTPProtoLabel, HTTPStatusLabel, ErrorLabel},
	)
)

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