Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EgressNetworkPolicyRuleCount = metrics.NewGauge( &metrics.GaugeOpts{ Name: "antrea_agent_egress_networkpolicy_rule_count", Help: "Number of egress networkpolicy rules on local node which are managed by the Antrea Agent.", StabilityLevel: metrics.STABLE, }, ) IngressNetworkPolicyRuleCount = metrics.NewGauge( &metrics.GaugeOpts{ Name: "antrea_agent_ingress_networkpolicy_rule_count", Help: "Number of ingress networkpolicy rules on local node which are managed by the Antrea Agent.", StabilityLevel: metrics.STABLE, }, ) PodCount = metrics.NewGauge( &metrics.GaugeOpts{ Name: "antrea_agent_local_pod_count", Help: "Number of pods on local node which are managed by the Antrea Agent.", StabilityLevel: metrics.STABLE, }, ) NetworkPolicyCount = metrics.NewGauge( &metrics.GaugeOpts{ Name: "antrea_agent_networkpolicy_count", Help: "Number of networkpolicies on local node which are managed by the Antrea Agent.", StabilityLevel: metrics.STABLE, }, ) OVSTotalFlowCount = metrics.NewGauge(&metrics.GaugeOpts{ Name: "antrea_agent_ovs_total_flow_count", Help: "Total flow count of all OVS flow tables.", StabilityLevel: metrics.STABLE, }, ) OVSFlowCount = metrics.NewGaugeVec(&metrics.GaugeOpts{ Name: "antrea_agent_ovs_flow_count", Help: "Flow count for each OVS flow table. The TableID is used as a label.", StabilityLevel: metrics.STABLE, }, []string{"table_id"}) OVSFlowOpsCount = metrics.NewCounterVec( &metrics.CounterOpts{ Name: "antrea_agent_ovs_flow_ops_count", Help: "Number of OVS flow operations, partitioned by operation type (add, modify and delete).", StabilityLevel: metrics.ALPHA, }, []string{"operation"}, ) OVSFlowOpsErrorCount = metrics.NewCounterVec( &metrics.CounterOpts{ Name: "antrea_agent_ovs_flow_ops_error_count", Help: "Number of OVS flow operation errors, partitioned by operation type (add, modify and delete).", StabilityLevel: metrics.ALPHA, }, []string{"operation"}, ) OVSFlowOpsLatency = metrics.NewHistogramVec( &metrics.HistogramOpts{ Name: "antrea_agent_ovs_flow_ops_latency_milliseconds", Help: "The latency of OVS flow operations, partitioned by operation type (add, modify and delete).", StabilityLevel: metrics.ALPHA, }, []string{"operation"}, ) TotalConnectionsInConnTrackTable = metrics.NewGauge( &metrics.GaugeOpts{ Name: "antrea_agent_conntrack_total_connection_count", Help: "Number of connections in the conntrack table. This metric gets updated at an interval specified by flowPollInterval, a configuration parameter for the Agent.", StabilityLevel: metrics.ALPHA, }, ) TotalAntreaConnectionsInConnTrackTable = metrics.NewGauge( &metrics.GaugeOpts{ Name: "antrea_agent_conntrack_antrea_connection_count", Help: "Number of connections in the Antrea ZoneID of the conntrack table. This metric gets updated at an interval specified by flowPollInterval, a configuration parameter for the Agent.", StabilityLevel: metrics.ALPHA, }, ) MaxConnectionsInConnTrackTable = metrics.NewGauge( &metrics.GaugeOpts{ Name: "antrea_agent_conntrack_max_connection_count", Help: "Size of the conntrack table. This metric gets updated at an interval specified by flowPollInterval, a configuration parameter for the Agent.", StabilityLevel: metrics.ALPHA, }, ) )
Functions ¶
func InitializeConnectionMetrics ¶ added in v0.10.0
func InitializeConnectionMetrics()
func InitializeNetworkPolicyMetrics ¶ added in v0.9.0
func InitializeNetworkPolicyMetrics()
func InitializeOVSMetrics ¶ added in v0.9.0
func InitializeOVSMetrics()
func InitializePodMetrics ¶ added in v0.9.0
func InitializePodMetrics()
func InitializePrometheusMetrics ¶
func InitializePrometheusMetrics()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.