metrics

package
v0.99.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ReceivedConnRequests = prometheus.NewCounter(
		prometheus.CounterOpts{
			Namespace: "nse",
			Subsystem: vl3Subsystem,
			Name:      "received_conn_requests_total",
			Help:      "Total number of received connection requests from vL3 NSE peer",
		})
	PerormedConnRequests = prometheus.NewCounter(
		prometheus.CounterOpts{
			Namespace: "nse",
			Subsystem: vl3Subsystem,
			Name:      "performed_conn_requests_total",
			Help:      "Total number of performed connection requests to vL3 NSE peer",
		})
	FailedFindNetworkService = prometheus.NewCounter(
		prometheus.CounterOpts{
			Namespace: "nse",
			Subsystem: vl3Subsystem,
			Name:      "failed_network_service_find_total",
			Help:      "Total number of failed network service finds",
		})
	ActiveWorkloadCount = prometheus.NewGauge(
		prometheus.GaugeOpts{
			Namespace: "nse",
			Subsystem: vl3Subsystem,
			Name:      "active_workload",
			Help:      "Number of currently active workloads",
		})
)

Functions

func ServeMetrics

func ServeMetrics(addr string, path string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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