metrics

package
v1.0.0-beta.9-test1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ConfiguationActionCreate = "create"
	ConfiguationActionChange = "update"
	ConfiguationActionDelete = "delete"
)

Variables

View Source
var (
	BackendHTTPConfigurationCounter = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Name: "kedge_http_backend_configuration_changes_total",
			Help: "Count of changes in HTTP backend configuration, done by flagz flag change. It can be both because use changed dynamic flag" +
				"or dynamic routing discovered a change",
		},
		[]string{"backend_name", "action"},
	)
	BackendGRPCConfigurationCounter = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Name: "kedge_grpc_backend_configuration_changes_total",
			Help: "Count of changes in gRPC backend configuration, done by flagz flag change. It can be both because use changed dynamic flag" +
				"or dynamic routing discovered a change",
		},
		[]string{"backend_name", "action"},
	)
)
View Source
var (
	KedgeProxyErrors = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Name: "kedge_proxy_errors_total",
			Help: "Count of errors spotted during proxying request. These errors are fails that never went outside of kedge.",
		},
		[]string{"backend_name", "type"},
	)
)

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