Skip to content

Commit cfadbcb

Browse files
authored
Merge pull request #32877 from abrennan89/monitoringupdates
SRVCOM-1171: Update monitoring docs
2 parents eeca929 + c448588 commit cfadbcb

15 files changed

+162
-63
lines changed

_topic_map.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2905,6 +2905,9 @@ Topics:
29052905
# Serving
29062906
- Name: Creating Knative Serving components in the Administrator perspective
29072907
File: serverless-cluster-admin-serving
2908+
# Monitoring
2909+
- Name: Monitoring serverless components
2910+
File: serverless-admin-monitoring
29082911
# Metering
29092912
- Name: Using metering with OpenShift Serverless
29102913
File: serverless-metering
@@ -3022,12 +3025,6 @@ Topics:
30223025
File: serverless-ossm-custom-domains
30233026
- Name: Configuring TLS for a custom domain using Service Mesh
30243027
File: serverless-ossm-tls
3025-
# Monitoring
3026-
- Name: Monitoring
3027-
Dir: monitoring
3028-
Topics:
3029-
- Name: Monitoring serverless components
3030-
File: serverless-monitoring
30313028
# Integrations
30323029
- Name: Integrations
30333030
Dir: integrations
27.7 KB
Loading

images/knative-health-status-dash.png

-39.6 KB
Binary file not shown.
-48.9 KB
Binary file not shown.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * serverless/admin_guide/serverless-admin-monitoring.adoc
4+
5+
[id="serverless-admin-monitoring-eventing-broker-trigger_{context}"]
6+
= Monitoring Knative Eventing brokers and triggers
7+
8+
You can use the {product-title} monitoring dashboards to view metrics for brokers and triggers in your cluster.
9+
10+
.Prerequisites
11+
12+
* You have cluster administrator permissions, and access to the *Administrator* perspective in the {product-title} web console.
13+
* You have installed the {ServerlessOperatorName}, as well as the Knative Eventing component.
14+
* The {product-title} monitoring stack is enabled on your cluster. You can enable monitoring for {ServerlessProductName} during installation by checking the box to *Enable operator recommended cluster monitoring on this namespace* when installing the {ServerlessOperatorName}.
15+
16+
.Procedure
17+
18+
. In the *Administrator* perspective, navigate to *Monitoring* -> *Dashboards*.
19+
. Select the *Knative Eventing - Broker/Trigger* dashboard in the *Dashboard* drop-down list.
20+
. You can now view the following metrics:
21+
.. For brokers:
22+
*** Event Count (rate per minute)
23+
*** Success Rate (2xx Event, rate per minute)
24+
*** Event Count by Event Type (rate per minute)
25+
*** Failure Rate (non-2xx Event, fraction of rate per minute)
26+
*** Event Count by Response Code Class (rate per minute)
27+
*** Event Dispatch Latency (ms)
28+
.. For triggers:
29+
*** Event Count (rate per minute)
30+
*** Success Rate (2xx Event, fraction rate per minute)
31+
*** Event Count by Response Code Class (rate per minute)
32+
*** Failure Rate (non-2xx Event, fraction rate per minute)
33+
*** Event Dispatch Latency (ms)
34+
*** Event Processing Latency (ms)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * serverless/admin_guide/serverless-admin-monitoring.adoc
4+
5+
[id="serverless-admin-monitoring-eventing-cpu-memory_{context}"]
6+
= Monitoring Knative Eventing source CPU and memory usage
7+
8+
You can use the {product-title} monitoring dashboards to view source CPU and memory usage metrics for Knative Eventing components.
9+
10+
.Prerequisites
11+
12+
* You have cluster administrator permissions, and access to the *Administrator* perspective in the {product-title} web console.
13+
* You have installed the {ServerlessOperatorName}, as well as the Knative Eventing component.
14+
* The {product-title} monitoring stack is enabled on your cluster. You can enable monitoring for {ServerlessProductName} during installation by checking the box to *Enable operator recommended cluster monitoring on this namespace* when installing the {ServerlessOperatorName}.
15+
16+
.Procedure
17+
18+
. In the *Administrator* perspective, navigate to *Monitoring* -> *Dashboards*.
19+
. Select the *Knative Eventing - Source CPU and Memory Usage* dashboard in the *Dashboard* drop-down list to view the following metrics:
20+
** Total CPU Usage (rate per minute)
21+
** Total Memory Usage (bytes)
22+
** Total Network I/O (rate per minute)
23+
** Total Network Errors (rate per minute)
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * serverless/admin_guide/serverless-admin-monitoring.adoc
4+
5+
[id="serverless-admin-monitoring-eventing-sources_{context}"]
6+
= Monitoring event sources
7+
8+
You can use the {product-title} monitoring dashboards to view metrics for event sources in your cluster.
9+
10+
.Prerequisites
11+
12+
* You have cluster administrator permissions, and access to the *Administrator* perspective in the {product-title} web console.
13+
* You have installed the {ServerlessOperatorName}, as well as the Knative Eventing component.
14+
* The {product-title} monitoring stack is enabled on your cluster. You can enable monitoring for {ServerlessProductName} during installation by checking the box to *Enable operator recommended cluster monitoring on this namespace* when installing the {ServerlessOperatorName}.
15+
16+
.Procedure
17+
18+
. In the *Administrator* perspective, navigate to *Monitoring* -> *Dashboards*.
19+
. Select the *Knative Eventing - Sources* dashboard in the *Dashboard* drop-down list.
20+
. You can now view the following metrics:
21+
.. For API server sources:
22+
*** Event Count (rate per minute)
23+
*** Success Rate (2xx Event, fraction rate per minute)
24+
*** Event Count by Response Code Class (rate per minute)
25+
*** Failure Rate (non-2xx Event, fraction rate per minute)
26+
.. For ping sources:
27+
*** Event Count (rate per minute)
28+
*** Success Rate (2xx Event, fraction rate per minute)
29+
*** Event Count by Response Code Class (rate per minute)
30+
*** Failure Rate (non-2xx Event, fraction rate per minute)
31+
.. For Kafka sources:
32+
*** Event Count (rate per minute)
33+
*** Success Rate (2xx Event, fraction rate per minute)
34+
*** Event Count by Response Code Class (rate per minute)
35+
*** Failure Rate (non-2xx Event, fraction rate per minute)
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * serverless/admin_guide/serverless-admin-monitoring.adoc
4+
5+
[id="serverless-admin-monitoring-health-status_{context}"]
6+
= Monitoring the overall health status of Knative components
7+
8+
You can use the {product-title} monitoring dashboards to view the overall health status of Knative.
9+
10+
.Prerequisites
11+
12+
* You have cluster administrator permissions, and access to the *Administrator* perspective in the {product-title} web console.
13+
* You have installed the {ServerlessOperatorName}, as well as the Knative Serving or Knative Eventing components.
14+
* The {product-title} monitoring stack is enabled on your cluster. You can enable monitoring for {ServerlessProductName} during installation by checking the box to *Enable operator recommended cluster monitoring on this namespace* when installing the {ServerlessOperatorName}.
15+
16+
.Procedure
17+
18+
. In the *Administrator* perspective, navigate to *Monitoring* -> *Dashboards*.
19+
. Select the *Knative Health Status* dashboard in the *Dashboard* drop-down to view the overall health status of Knative. If your Knative deployment is running as expected, the dashboard shows a status of *Ready*.
20+
+
21+
image::knative-admin-health-status-dash.png[Knative Health Status dashboard]
22+
+
23+
If you have Knative Serving or Knative Eventing installed, you can also scroll down to see the health status for each of these components.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * serverless/admin_guide/serverless-admin-monitoring.adoc
4+
5+
[id="serverless-admin-monitoring-serving-cpu-memory_{context}"]
6+
= Monitoring Knative Serving revision CPU and memory usage
7+
8+
You can use the {product-title} monitoring dashboards to view revision CPU and memory usage metrics for Knative Serving components.
9+
10+
.Prerequisites
11+
12+
* You have cluster administrator permissions, and access to the *Administrator* perspective in the {product-title} web console.
13+
* You have installed the {ServerlessOperatorName}, as well as the Knative Serving component.
14+
* The {product-title} monitoring stack is enabled on your cluster. You can enable monitoring for {ServerlessProductName} during installation by checking the box to *Enable operator recommended cluster monitoring on this namespace* when installing the {ServerlessOperatorName}.
15+
16+
.Procedure
17+
18+
. In the *Administrator* perspective, navigate to *Monitoring* -> *Dashboards*.
19+
. Select the *Knative Serving - Source CPU and Memory Usage* dashboard in the *Dashboard* drop-down list to view the following metrics:
20+
** Total CPU Usage (rate per minute)
21+
** Total Memory Usage (bytes)
22+
** Total Network I/O (rate per minute)
23+
** Total Network Errors (rate per minute)
24+
. Optional: You can filter this dashboard by *Namespace*, *Configuration*, or *Revision*, by selecting an option from the drop-down list.

modules/serverless-monitoring-health-status.adoc

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)