prom

package
v0.0.0-...-a3d776d Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PacketCount = prometheus.NewCounterVec(
		prometheus.CounterOpts{
			Name: "packet_count",
			Help: "Track counts of packets for certain source and destinations",
		},
		[]string{"proto", "src_ip", "src_port", "dst_ip", "dst_port"},
	)
)

Functions

func StartPrometheusEndpoint

func StartPrometheusEndpoint()

StartPrometheusEndpoint - Setup and Run the prometheus endpoint

Types

This section is empty.

Jump to

Keyboard shortcuts

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