Skip to content

Commit a70196f

Browse files
authored
Merge pull request #48342 from smunje1/RHDEVDOCS-3111
RHDEVDOCS-3111: Update monitoring flows and capture customizing metrics
2 parents 544a05a + 0144217 commit a70196f

6 files changed

+49
-17
lines changed

applications/odc-monitoring-project-and-application-metrics-using-developer-perspective.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ toc::[]
99

1010
The *Observe* view in the *Developer* perspective provides options to monitor your project or application metrics, such as CPU, memory, and bandwidth usage, and network related information.
1111

12+
[id="prerequisites_odc-monitoring-project-and-application-metrics-using-developer-perspective"]
1213
== Prerequisites
1314

1415
* You have xref:../web_console/web-console.adoc#web-console-overview[logged in to the web console] and have switched to the xref:../web_console/odc-about-developer-perspective.adoc#odc-about-developer-perspective[*Developer* perspective].
@@ -23,5 +24,6 @@ include::modules/odc-image-vulnerabilities-breakdown.adoc[leveloffset=+1]
2324
include::modules/odc-monitoring-your-app-vulnerabilities.adoc[leveloffset=+1]
2425

2526
[role="_additional-resources"]
27+
[id="additional-resources-odc-monitoring-project-and-application-metrics-using-developer-perspective"]
2628
== Additional resources
2729
* xref:../monitoring/monitoring-overview.adoc#monitoring-overview[Monitoring overview]
128 KB
Loading

images/odc_observe_dashboard.png

254 KB
Loading

modules/monitoring-reviewing-monitoring-dashboards-developer.adoc

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,26 @@
66
[id="reviewing-monitoring-dashboards-developer_{context}"]
77
= Reviewing monitoring dashboards as a developer
88

9-
In the Developer perspective, you can view dashboards relating to a selected project. You must have access to monitor a project to view dashboard information for it.
9+
Use the Developer perspective to view Kubernetes compute resources dashboards of a selected project.
1010

1111
.Prerequisites
1212

13-
* You have access to the cluster as a developer or as a user with view permissions for the project that you are viewing the dashboard for.
13+
* You have access to the cluster as a developer or as a user.
14+
* You have view permissions for the project that you are viewing the dashboard for.
1415
1516
.Procedure
1617

1718
. In the Developer perspective in the {product-title} web console, navigate to *Observe* -> *Dashboard*.
1819

19-
. Choose a project in the *Project:* list.
20-
21-
. Choose a workload in the *All Workloads* list.
20+
. Select a project from the *Project:* drop-down list.
2221

22+
. Select a dashboard from the *Dashboard* drop-down list to see the filtered metrics.
23+
+
24+
[NOTE]
25+
====
26+
All dashboards produce additional sub-menus when selected, except *Kubernetes / Compute Resources / Namespace (Pods)*.
27+
====
28+
+
2329
. Optional: Select a time range for the graphs in the *Time Range* list.
2430
+
2531
** Select a pre-defined time period.

modules/odc-monitoring-your-project-metrics.adoc

Lines changed: 32 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,36 @@ After you create applications in your project and deploy them, you can use the *
1111
.Procedure
1212

1313
. On the left navigation panel of the *Developer* perspective, click *Observe* to see the *Dashboard*, *Metrics*, *Alerts*, and *Events* for your project.
14-
15-
* Use the *Dashboard* tab to see graphs depicting the CPU, memory, and bandwidth consumption and network related information, such as the rate of transmitted and received packets and the rate of dropped packets.
1614
+
17-
.Monitoring dashboard
18-
image::odc_project_dashboard.png[]
15+
. Optional: Use the *Dashboard* tab to see graphs depicting the following application metrics:
16+
+
17+
--
18+
* CPU usage
19+
* Memory usage
20+
* Bandwidth consumption
21+
* Network-related information such as the rate of transmitted and received packets and the rate of dropped packets.
22+
--
23+
+
24+
In the *Dashboard* tab, you can access the Kubernetes compute resources dashboards.
25+
+
26+
.Observe dashboard
27+
image::odc_observe_dashboard.png[]
28+
+
29+
[NOTE]
30+
====
31+
In the *Dashboard* list, *Kubernetes / Compute Resources / Namespace (Pods)* dashboard is selected by default.
32+
====
1933
+
2034
Use the following options to see further details:
2135

22-
** Select a workload from the *All Workloads* list to see the filtered metrics for the selected workload.
36+
** Select a dashboard from the *Dashboard* list to see the filtered metrics. All dashboards produce additional sub-menus when selected, except *Kubernetes / Compute Resources / Namespace (Pods)*.
2337
** Select an option from the *Time Range* list to determine the time frame for the data being captured.
38+
** Set a custom time range by selecting *Custom time range* from the *Time Range* list. You can input or select the *From* and *To* dates and times. Click *Save* to save the custom time range.
2439
** Select an option from the *Refresh Interval* list to determine the time period after which the data is refreshed.
2540
** Hover your cursor over the graphs to see specific details for your pod.
26-
** Click on any of the graphs displayed to see the details for that particular metric in the *Metrics* page.
41+
** Click *Inspect* located in the upper-right corner of every graph to see any particular graph details. The graph details appear in the *Metrics* tab.
2742

28-
* Use the *Metrics* tab to query for the required project metric.
43+
. Optional: Use the *Metrics* tab to query for the required project metric.
2944
+
3045
.Monitoring metrics
3146
image::odc_project_metrics.png[]
@@ -36,11 +51,19 @@ image::odc_project_metrics.png[]
3651
.. Use the drop-down list to set a time range for the data being displayed. You can click *Reset Zoom* to reset it to the default time range.
3752
.. Optional: In the *Select Query* list, select *Custom Query* to create a custom Prometheus query and filter relevant metrics.
3853

39-
* Use the *Alerts* tab to see the rules that trigger alerts for the applications in your project, identify the alerts firing in the project, and silence them if required.
54+
. Optional: Use the *Alerts* tab to do the following tasks:
55+
+
56+
--
57+
* See the rules that trigger alerts for the applications in your project.
58+
* Identify the alerts firing in the project.
59+
* Silence such alerts if required.
60+
--
4061
+
4162
.Monitoring alerts
4263
image::odc_project_alerts.png[]
4364
+
65+
Use the following options to see further details:
66+
4467
** Use the *Filter* list to filter the alerts by their *Alert State* and *Severity*.
4568

4669
** Click on an alert to go to the details page for that alert. In the *Alerts Details* page, you can click *View Metrics* to see the metrics for the alert.
@@ -50,7 +73,7 @@ You must have the permissions to edit alerts to see the *Notifications* toggle.
5073

5174
** Use the *Options* menu {kebab} adjoining an alert rule to see the details of the alerting rule.
5275

53-
* Use the *Events* tab to see the events for your project.
76+
. Optional: Use the *Events* tab to see the events for your project.
5477
+
5578
.Monitoring events
5679
image::odc_project_events.png[]

monitoring/reviewing-monitoring-dashboards.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ toc::[]
88

99
{product-title} {product-version} provides a comprehensive set of monitoring dashboards that help you understand the state of cluster components and user-defined workloads.
1010

11-
In the *Administrator* perspective you can access dashboards for core {product-title} components, including:
11+
Use the *Administrator* perspective to access dashboards for the core {product-title} components, including the following items:
1212

1313
* API performance
1414
* etcd
@@ -20,15 +20,15 @@ In the *Administrator* perspective you can access dashboards for core {product-t
2020
.Example dashboard in the Administrator perspective
2121
image::monitoring-dashboard-administrator.png[]
2222

23-
In the *Developer* perspective you can access dashboards that provide the following statistics for a selected project:
23+
Use the *Developer* perspective to access Kubernetes compute resources dashboards that provide the following application metrics for a selected project:
2424

2525
* CPU usage
2626
* Memory usage
2727
* Bandwidth information
2828
* Packet rate information
2929
3030
.Example dashboard in the Developer perspective
31-
image::monitoring-dashboard-developer.png[]
31+
image::observe-dashboard-developer.png[]
3232

3333
[NOTE]
3434
====
@@ -42,6 +42,7 @@ include::modules/monitoring-reviewing-monitoring-dashboards-admin.adoc[leveloffs
4242
include::modules/monitoring-reviewing-monitoring-dashboards-developer.adoc[leveloffset=+1]
4343

4444
[role="_additional-resources"]
45+
[id="additional-resources-reviewing-monitoring-dashboards"]
4546
.Additional resources
4647

4748
* xref:../applications/odc-monitoring-project-and-application-metrics-using-developer-perspective.adoc#monitoring-project-and-application-metrics-using-developer-perspective[Monitoring project and application metrics using the Developer perspective]

0 commit comments

Comments
 (0)