diff --git a/applications/odc-monitoring-project-and-application-metrics-using-developer-perspective.adoc b/applications/odc-monitoring-project-and-application-metrics-using-developer-perspective.adoc index 8b146f9dac..7040cf0b6b 100644 --- a/applications/odc-monitoring-project-and-application-metrics-using-developer-perspective.adoc +++ b/applications/odc-monitoring-project-and-application-metrics-using-developer-perspective.adoc @@ -15,3 +15,6 @@ The *Monitoring* view in the *Developer* perspective provides options to monitor include::modules/odc-monitoring-your-project-metrics.adoc[leveloffset=+1] include::modules/odc-monitoring-your-application-metrics.adoc[leveloffset=+1] + +== Additional Resources +* xref:../monitoring/cluster_monitoring/about-cluster-monitoring.adoc#about-cluster-monitoring[Monitoring cluster metrics] diff --git a/images/odc_app_metrics.png b/images/odc_app_metrics.png index 8ef08588e5..d81ae79024 100644 Binary files a/images/odc_app_metrics.png and b/images/odc_app_metrics.png differ diff --git a/images/odc_project_alerts.png b/images/odc_project_alerts.png new file mode 100644 index 0000000000..7266b37768 Binary files /dev/null and b/images/odc_project_alerts.png differ diff --git a/images/odc_project_dashboard.png b/images/odc_project_dashboard.png index 8dce94a1f0..03da036fa6 100644 Binary files a/images/odc_project_dashboard.png and b/images/odc_project_dashboard.png differ diff --git a/images/odc_project_events.png b/images/odc_project_events.png index f25ae343d2..a24cc1e090 100644 Binary files a/images/odc_project_events.png and b/images/odc_project_events.png differ diff --git a/images/odc_project_metrics.png b/images/odc_project_metrics.png index ffeed5afcb..bd6ded4a54 100644 Binary files a/images/odc_project_metrics.png and b/images/odc_project_metrics.png differ diff --git a/modules/odc-monitoring-your-application-metrics.adoc b/modules/odc-monitoring-your-application-metrics.adoc index 3c5cfe2737..e7f34629af 100644 --- a/modules/odc-monitoring-your-application-metrics.adoc +++ b/modules/odc-monitoring-your-application-metrics.adoc @@ -5,15 +5,22 @@ [id="odc-monitoring-your-application-metrics_{context}"] = Monitoring your application metrics -After you create applications in your project and deploy them, you can use the *Topology* view in the *Developer* perspective to see the metrics for your application. +After you create applications in your project and deploy them, you can use the *Topology* view in the *Developer* perspective to see the alerts and metrics for your application. Critical and warning alerts for your application are indicated on the workload node in the *Topology* view. .Procedure +To see the alerts for your workload: -. In the *Topology* view, click the application to see the application details in the right panel. -. Click the *Monitoring* tab to see the warning events for the application; graphs for CPU, memory, and bandwidth usage; and all the events for the application. +. In the *Topology* view, click the workload to see the workload details in the right panel. +. Click the *Monitoring* tab to see the critical and warning alerts for the application; graphs for metrics, such as CPU, memory, and bandwidth usage; and all the events for the application. ++ +[NOTE] +==== +Only critical and warning alerts in the *Firing* state are displayed in the *Topology* view. Alerts in the *Silenced*, *Pending* and *Not Firing* states are not displayed. +==== + .Monitoring application metrics image::odc_app_metrics.png[] + +.. Click the alert listed in the right panel to see the alert details in the *Alert Details* page. .. Click any of the charts to go to the *Metrics* tab to see the detailed metrics for the application. .. Click *View monitoring dashboard* to see the monitoring dashboard for that application. diff --git a/modules/odc-monitoring-your-project-metrics.adoc b/modules/odc-monitoring-your-project-metrics.adoc index c9737d3ab7..c2e7e29e59 100644 --- a/modules/odc-monitoring-your-project-metrics.adoc +++ b/modules/odc-monitoring-your-project-metrics.adoc @@ -9,7 +9,7 @@ After you create applications in your project and deploy them, you can use the * .Procedure -. On the left navigation panel of the *Developer* perspective, click *Monitoring* to see the *Dashboard*, *Metrics*, and *Events* for your project. +. On the left navigation panel of the *Developer* perspective, click *Monitoring* to see the *Dashboard*, *Metrics*, *Alerts*, and *Events* for your project. * 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. + @@ -18,6 +18,7 @@ image::odc_project_dashboard.png[] + Use the following options to see further details: +** Select a workload from the *All Workloads* list to see the filtered metrics for the selected workload. ** Select an option from the *Time Range* list to determine the time frame for the data being captured. ** Select an option from the *Refresh Interval* list to determine the time period after which the data is refreshed. ** Hover your cursor over the graphs to see specific details for your Pod. @@ -34,6 +35,20 @@ image::odc_project_metrics.png[] .. 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. .. Optionally, in the *Select Query* list, select *Custom Query* to create a custom Prometheus query and filter relevant metrics. +* 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. ++ +.Monitoring alerts +image::odc_project_alerts.png[] ++ +** Use the *Filter* list to filter the alerts by their *Alert State* and *Severity*. + +** Click on an alert to go to the details page for that alert. In the *Alerts Details* page, you can click the *View Metrics* button to see the metrics for the alert. + +** Use the *Notifications* toggle adjoining an alert rule to silence all the alerts for that rule, and then select the duration for which the alerts will be silenced from the *Silence for* list. +You must have the permissions to edit alerts to see the *Notifications* toggle. + +** Use the *Options* menu {kebab} adjoining an alert rule to see the details of the alerting rule. + * Use the *Events* tab to see the events for your project. + .Monitoring events