Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cell = cell.Module( "enabled-features", "Exports prometheus metrics describing which features are enabled in cilium-agent", cell.Invoke(updateAgentConfigMetricOnStart), cell.Provide( func(m Metrics) featureMetrics { return m }, ), metrics.Metric(func() Metrics { return NewMetrics(true) }), )
Cell will retrieve information from all other cells / configuration to describe, in form of prometheus metrics, which features are enabled on the agent.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct { CPIPAM metric.Vec[metric.Gauge] CPIdentityAllocation metric.Vec[metric.Gauge] CPCiliumEndpointSlicesEnabled metric.Gauge DPMode metric.Vec[metric.Gauge] DPChaining metric.Vec[metric.Gauge] DPIP metric.Vec[metric.Gauge] DPDeviceConfig metric.Vec[metric.Gauge] NPHostFirewallEnabled metric.Gauge NPLocalRedirectPolicyEnabled metric.Gauge NPMutualAuthEnabled metric.Gauge NPNonDefaultDenyEnabled metric.Gauge NPCIDRPoliciesToNodes metric.Vec[metric.Gauge] ACLBTransparentEncryption metric.Vec[metric.Gauge] ACLBKubeProxyReplacementEnabled metric.Gauge ACLBNodePortConfig metric.Vec[metric.Gauge] ACLBBGPEnabled metric.Gauge ACLBEgressGatewayEnabled metric.Gauge ACLBBandwidthManagerEnabled metric.Gauge ACLBSCTPEnabled metric.Gauge ACLBInternalTrafficPolicyEnabled metric.Gauge ACLBVTEPEnabled metric.Gauge ACLBCiliumEnvoyConfigEnabled metric.Gauge ACLBBigTCPEnabled metric.Vec[metric.Gauge] ACLBL2LBEnabled metric.Gauge ACLBL2PodAnnouncementEnabled metric.Gauge ACLBExternalEnvoyProxyEnabled metric.Vec[metric.Gauge] ACLBCiliumNodeConfigEnabled metric.Gauge }
Metrics represents a collection of metrics related to a specific feature. Each field is named according to the specific feature that it tracks.
func NewMetrics ¶
NewMetrics returns all feature metrics. If 'withDefaults' is set, then all metrics will have defined all of their possible values.
Click to show internal directories.
Click to hide internal directories.