constants

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppLabel        = "app"
	AppLabelValue   = "netobserv-flowcollector"
	RecordTypeLabel = "_RecordType"

	MetricTypeBytes          MetricType = "bytes"
	MetricTypePackets        MetricType = "packets"
	MetricTypeCount          MetricType = "count"
	MetricTypeCountDNS       MetricType = "countDns"
	MetricTypeFlowRTT        MetricType = "flowRtt"
	MetricTypeDNSLatencies   MetricType = "dnsLatencies"
	MetricTypeDroppedBytes   MetricType = "droppedBytes"
	MetricTypeDroppedPackets MetricType = "droppedPackets"
	DefaultMetricType        MetricType = MetricTypeBytes

	MetricFunctionAvg     MetricFunction = "avg"
	MetricFunctionMin     MetricFunction = "min"
	MetricFunctionMax     MetricFunction = "max"
	MetricFunctionP90     MetricFunction = "p90"
	MetricFunctionP99     MetricFunction = "p99"
	DefaultMetricFunction MetricFunction = MetricFunctionAvg

	RecordTypeAllConnections RecordType = "allConnections"
	RecordTypeNewConnection  RecordType = "newConnection"
	RecordTypeHeartbeat      RecordType = "heartbeat"
	RecordTypeEndConnection  RecordType = "endConnection"
	RecordTypeLog            RecordType = "flowLog"
	DefaultRecordType        RecordType = RecordTypeLog

	PacketLossDropped PacketLoss = "dropped"
	PacketLossHasDrop PacketLoss = "hasDrops"
	PacketLossSent    PacketLoss = "sent"
	PacketLossAll     PacketLoss = "all"
	DefaultPacketLoss PacketLoss = PacketLossAll

	Ingress Direction = "0"
	Egress  Direction = "1"
	Inner   Direction = "2"
)

Variables

Functions

This section is empty.

Types

type Direction added in v0.1.11

type Direction string

type MetricFunction added in v0.1.12

type MetricFunction string

type MetricType added in v0.1.11

type MetricType string

type PacketLoss added in v0.1.11

type PacketLoss string

type RecordType added in v0.1.10

type RecordType string

Jump to

Keyboard shortcuts

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