constants

package
v1.8.1-crc0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

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

	MetricTypeFlows          = "Flows"
	MetricTypeBytes          = "Bytes"
	MetricTypePackets        = "Packets"
	MetricTypeDroppedBytes   = "PktDropBytes"
	MetricTypeDroppedPackets = "PktDropPackets"
	MetricTypeDNSLatency     = "DnsLatencyMs"
	MetricTypeDNSFlows       = "DnsFlows"
	MetricTypeFlowRTT        = "TimeFlowRttNs"
	DefaultMetricType        = MetricTypeBytes

	MetricFunctionCount   MetricFunction = "count"
	MetricFunctionSum     MetricFunction = "sum"
	MetricFunctionAvg     MetricFunction = "avg"
	MetricFunctionMin     MetricFunction = "min"
	MetricFunctionMax     MetricFunction = "max"
	MetricFunctionP90     MetricFunction = "p90"
	MetricFunctionP99     MetricFunction = "p99"
	MetricFunctionRate    MetricFunction = "rate"
	DefaultMetricFunction MetricFunction = MetricFunctionRate

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

	DataSourceAuto    DataSource = "auto"
	DataSourceProm    DataSource = "prom"
	DataSourceLoki    DataSource = "loki"
	DefaultDataSource DataSource = DataSourceAuto

	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 DataSource

type DataSource string

type Direction added in v0.1.11

type Direction string

type Discriminator

type Discriminator string

type MetricFunction added in v0.1.12

type MetricFunction 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