Skip to content

Commit a80c2f3

Browse files
committed
GHI46046 re-title module
1 parent c624ea8 commit a80c2f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/cnf-associating-secondary-interfaces-metrics-to-network-attachments.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
// *networking/associating-secondary-interfaces-metrics-to-network-attachments.adoc
55

66
[id="cnf-associating-secondary-interfaces-metrics-to-network-attachments_{context}"]
7-
= Associating secondary interfaces metrics to network attachments
7+
= Extending secondary network metrics for monitoring
88

99
Secondary devices, or interfaces, are used for different purposes. It is important to have a way to classify them to be able to aggregate the metrics for secondary devices with the same classification.
1010

11-
Exposed metrics contain the interface but do not specify where the interface originates. This is workable when there are no additional interfaces, but if a secondary interface is added, it is difficult to make use of the metrics since it is hard to identify the interfaces using only the interface name as an identifier.
11+
Exposed metrics contain the interface but do not specify where the interface originates. This is workable when there are no additional interfaces. However, if secondary interfaces are added, it can be difficult to use the metrics since it is hard to identify interfaces using only interface names.
1212

1313
When adding secondary interfaces, their names depend on the order in which they are added, and different secondary interfaces might belong to different networks and can be used for different purposes.
1414

15-
With `pod_network_name_info` it is possible to extend the current metrics with the additional information that identifies the interface type. In this way, it is possible to aggregate the metrics and to add specific alarms to specific interface types.
15+
With `pod_network_name_info` it is possible to extend the current metrics with additional information that identifies the interface type. In this way, it is possible to aggregate the metrics and to add specific alarms to specific interface types.
1616

1717
The network type is generated using the name of the related `NetworkAttachmentDefinition`, that in turn is used to differentiate different classes of secondary networks. For example, different interfaces belonging to different networks or using different CNIs use different network attachment definition names.
1818

@@ -54,7 +54,7 @@ This daemonset publishes a `pod_network_name_info` gauge metric, with a fixed va
5454
pod_network_name_info{interface="net0",namespace="namespacename",network_name="nadnamespace/firstNAD",pod="podname"} 0
5555
----
5656

57-
The network name label is produced using the annotation added by Multus. It ia the concatenation of the namespace the network attachment definition belongs to, plus the name of the network attachment definition.
57+
The network name label is produced using the annotation added by Multus. It is the concatenation of the namespace the network attachment definition belongs to, plus the name of the network attachment definition.
5858

5959
The new metric alone does not provide much value, but combined with the network related `container_network_*` metrics, it offers better support for monitoring secondary networks.
6060

0 commit comments

Comments
 (0)