Skip to content

Commit 34df6bc

Browse files
authored
Merge pull request #103544 from gwynnemonahan/manual-cherry-pick-enterprise-4-16-OSDOCS-17453
[enterprise-4.16] OSDOCS-17453 [NETOBSERV] Module short descriptions for metrics-alerts-dashboards.adoc
2 parents cf68794 + fe7469b commit 34df6bc

8 files changed

+30
-20
lines changed

modules/network-observability-configuring-custom-metrics.adoc

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
[id="network-observability-configuring-custom-metrics_{context}"]
77
= Configuring custom metrics by using FlowMetric API
88

9-
You can configure the `FlowMetric` API to create custom metrics by using flowlogs data fields as Prometheus labels. You can add multiple `FlowMetric` resources to a project to see multiple dashboard views.
9+
[role="_abstract"]
10+
Configure the `FlowMetric` API to create custom Prometheus metrics by mapping flow log fields as labels to meet specific monitoring needs.
1011

1112
.Procedure
1213

@@ -17,8 +18,7 @@ You can configure the `FlowMetric` API to create custom metrics by using flowlog
1718
. Configure the `FlowMetric` resource, similar to the following sample configurations:
1819
+
1920
.Generate a metric that tracks ingress bytes received from cluster external sources
20-
[%collapsible]
21-
====
21+
2222
[source,yaml]
2323
----
2424
apiVersion: flows.netobserv.io/v1alpha1
@@ -46,11 +46,9 @@ spec:
4646
.Verification
4747
. Once the pods refresh, navigate to *Observe* -> *Metrics*.
4848
. In the *Expression* field, type the metric name to view the corresponding result. You can also enter an expression, such as `topk(5, sum(rate(netobserv_cluster_external_ingress_bytes_total{DstK8S_Namespace="my-namespace"}[2m])) by (DstK8S_HostName, DstK8S_OwnerName, DstK8S_OwnerType))`
49-
====
5049
+
5150
.Show RTT latency for cluster external ingress traffic
52-
[%collapsible]
53-
====
51+
5452
[source,yaml]
5553
----
5654
apiVersion: flows.netobserv.io/v1alpha1
@@ -80,7 +78,6 @@ spec:
8078
.Verification
8179
. Once the pods refresh, navigate to *Observe* -> *Metrics*.
8280
. In the *Expression* field, you can type the metric name to view the corresponding result.
83-
====
8481

8582

8683

modules/network-observability-custom-metrics.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,7 @@
66
[id="network-observability-custom-metrics_{context}"]
77
= Custom metrics
88

9-
You can create custom metrics out of the flowlogs data using the `FlowMetric` API. In every flowlogs data that is collected, there are several fields labeled per log, such as source name and destination name. These fields can be leveraged as Prometheus labels to enable the customization of cluster information on your dashboard.
9+
[role="_abstract"]
10+
Define custom metrics from flowlog data using the `FlowMetric` API, leveraging log fields as Prometheus labels to customize dashboard information and monitor specific cluster data.
11+
12+
In every flowlogs data that is collected, there are several fields labeled per log, such as source name and destination name. These fields can be leveraged as Prometheus labels to enable the customization of cluster information on your dashboard.

modules/network-observability-flowmetrics-charts.adoc

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,19 @@
66
[id="network-observability-custom-charts-flowmetrics_{context}"]
77
= Configuring custom charts using FlowMetric API
88

9-
You can generate charts for dashboards in the {product-title} web console, which you can view as an administrator in the *Dashboard* menu by defining the `charts` section of the `FlowMetric` resource.
9+
[role="_abstract"]
10+
Generate custom charts for {product-title} web console dashboards by defining the charts section of the `FlowMetric` custom resource.
11+
12+
You can view custom charts as an administrator in the *Dashboard* menu.
1013

1114
.Procedure
1215
. In the web console, navigate to *Operators* -> *Installed Operators*.
1316
. In the *Provided APIs* heading for the *NetObserv Operator*, select *FlowMetric*.
1417
. In the *Project:* dropdown list, select the project of the Network Observability Operator instance.
1518
. Click *Create FlowMetric*.
1619
. Configure the `FlowMetric` resource, similar to the following sample configurations:
17-
20+
+
1821
.Chart for tracking ingress bytes received from cluster external sources
19-
[%collapsible]
20-
====
2122
[source,yaml]
2223
----
2324
apiVersion: flows.netobserv.io/v1alpha1
@@ -54,11 +55,8 @@ metadata:
5455
* A timeseries graph showing the same metric per destination workload
5556
5657
For more information about the query language, refer to the link:https://prometheus.io/docs/prometheus/latest/querying/basics/[Prometheus documentation].
57-
====
5858

5959
.Chart for RTT latency for cluster external ingress traffic
60-
[%collapsible]
61-
====
6260
[source,yaml]
6361
----
6462
apiVersion: flows.netobserv.io/v1alpha1
@@ -110,4 +108,4 @@ promQL: "(sum(rate($METRIC_sum{DstK8S_Namespace!=\"\"}[2m])) by (DstK8S_Namespac
110108
. Search for the *NetObserv / Main* dashboard. View the new panel under the *NetObserv / Main* dashboard, or optionally a dashboard name that you create.
111109

112110
For more information about the query language, refer to the link:https://prometheus.io/docs/prometheus/latest/querying/basics/[Prometheus documentation].
113-
====
111+

modules/network-observability-includelist-example.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
[id="network-observability-netobserv-dashboard-high-traffic-alert_{context}"]
66
= Creating alerts
77

8-
You can create custom alerting rules for the Netobserv dashboard metrics to trigger alerts when some defined conditions are met.
8+
[role="_abstract"]
9+
Create custom `AlertingRule` resources based on `Netobserv` dashboard metrics to define conditions that trigger alerts in the {product-title} console.
910

1011
.Prerequisites
1112

modules/network-observability-metrics-names.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
[id="network-observability-metrics_{context}"]
77
= Network observability metrics
88

9+
[role="_abstract"]
10+
Review the comprehensive list of network observability metrics, prefixed by `netobserv_`, which you can configure in the `FlowCollector` resource and use to monitor traffic and create Prometheus alerts.
11+
12+
Metrics generated by the `flowlogs-pipeline` are configurable in the `spec.processor.metrics.includeList` of the `FlowCollector` custom resource to add or remove metrics.
13+
914
You can also create alerts by using the `includeList` metrics in Prometheus rules, as shown in the example "Creating alerts".
1015

1116
When looking for these metrics in Prometheus, such as in the Console through *Observe* -> *Metrics*, or when defining alerts, all the metrics names are prefixed with `netobserv_`. For example, `netobserv_namespace_flows_total`. Available metrics names are as follows:

modules/network-observability-predefined-metrics.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
//
33
// network_observability/metrics-alerts-dashboards.adoc
44

5+
////
56
:_mod-docs-content-type: CONCEPT
67
[id="network-observability-predefined-metrics_{context}"]
78
= Predefined metrics
89

9-
Metrics generated by the `flowlogs-pipeline` are configurable in the `spec.processor.metrics.includeList` of the `FlowCollector` custom resource to add or remove metrics.
10+
Metrics generated by the `flowlogs-pipeline` are configurable in the `spec.processor.metrics.includeList` of the `FlowCollector` custom resource to add or remove metrics.
11+
////
12+
13+
//moved to network-observability-metrics-names.adoc

modules/network-observability-tcp-flag-syn-flood.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
[id="network-observability-tcp-flag-syn-flood_{context}"]
77
= Detecting SYN flooding using the FlowMetric API and TCP flags
88

9-
You can create an `AlertingRule` resouce to alert for SYN flooding.
9+
[role="_abstract"]
10+
Deploy a custom `AlertingRule` and `FlowMetric` configuration to monitor TCP flags, enabling real-time detection and alerting for SYN flooding attacks on the cluster.
1011

1112
.Procedure
1213
. In the web console, navigate to *Operators* -> *Installed Operators*.

modules/network-observability-viewing-dashboards.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
[id="network-observability-viewing-dashboards_{context}"]
77
= Viewing network observability metrics dashboards
88

9-
On the *Overview* tab in the {product-title} console, you can view the overall aggregated metrics of the network traffic flow on the cluster. You can choose to display the information by node, namespace, owner, pod, and service. You can also use filters and display options to further refine the metrics.
9+
[role="_abstract"]
10+
View network observability metrics dashboards using the *Overview* tab in the {product-title} console to monitor overall traffic flow and system health, with options to filter metrics by node, namespace, owner, pod, and service.
1011

1112
.Procedure
1213
. In the web console *Observe* -> *Dashboards*, select the *Netobserv* dashboard.

0 commit comments

Comments
 (0)