constants

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetricsEndpoint = "metrics"

	TCP             = "TCP"
	UDP             = "UDP"
	IPV4            = "IPv4"
	IPTableRuleDrop = "IPTABLE_RULE_DROP"
	SYN             = "SYN"
	SYNACK          = "SYN-ACK"
	ACK             = "ACK"
	FIN             = "FIN"
	RST             = "RST"
)
View Source
const (
	// Metrics Port
	HubbleMetricsPort = "9965"

	// MetricsName
	HubbleDNSQueryMetricName    = "hubble_dns_queries_total"
	HubbleDNSResponseMetricName = "hubble_dns_responses_total"
	HubbleFlowMetricName        = "hubble_flows_processed_total"
	HubbleDropMetricName        = "hubble_drop_total"
	HubbleTCPFlagsMetricName    = "hubble_tcp_flags_total"

	// Labels
	HubbleDestinationLabel = "destination"
	HubbleSourceLabel      = "source"
	HubbleIPsRetunedLabel  = "ips_returned"
	HubbleQTypesLabel      = "qtypes"
	HubbleRCodeLabel       = "rcode"
	HubbleQueryLabel       = "query"

	HubbleProtocolLabel = "protocol"
	HubbleReasonLabel   = "reason"

	HubbleSubtypeLabel = "subtype"
	HubbleTypeLabel    = "type"
	HubbleVerdictLabel = "verdict"

	HubbleFamilyLabel = "family"
	HubbleFlagLabel   = "flag"
)
View Source
const (
	// Metrics Port
	RetinaMetricsPort = "10093"

	// MetricsName
	RetinaDropMetricName    = "networkobservability_drop_count"
	RetinaForwardMetricName = "networkobservability_forward_count"

	// Labels
	RetinaSourceLabel      = "source"
	RetinaDestinationLabel = "destination"
	RetinaProtocolLabel    = "protocol"
	RetinaReasonLabel      = "reason"
	RetinaDirectionLabel   = "direction"
)

Variables

This section is empty.

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