5.2. Monitoring your project metrics


After you create applications in your project and deploy them, you can use the Developer perspective in the web console to see the metrics for your project.

Procedure

  1. On the left navigation panel of the Developer perspective, click Monitoring to see the Dashboard, Metrics, 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.

      图 5.1. Monitoring dashboard

      odc project dashboard

      Use the following options to see further details:

      • 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.
      • Click on any of the graphs displayed to see the details for that particular metric in the Metrics page.
    • Use the Metrics tab to query for the required project metric.

      图 5.2. Monitoring metrics

      odc project metrics
      1. In the Select Query list, select an option to filter the required details for your project. The filtered metrics for all the application pods in your project are displayed in the graph. The pods in your project are also listed below.
      2. From the list of pods, clear the colored square boxes to remove the metrics for specific pods to further filter your query result.
      3. Click Show PromQL to see the Prometheus query. You can further modify this query with the help of prompts to customize the query and filter the metrics you want to see for that namespace.
      4. 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.
      5. Optionally, in the Select Query list, select Custom Query to create a custom Prometheus query and filter relevant metrics.
    • Use the Events tab to see the events for your project.

      图 5.3. Monitoring events

      odc project events

      You can filter the displayed events using the following options:

      • In the Resources list, select a resource to see events for that resource.
      • In the All Types list, select a type of event to see events relevant to that type.
      • Search for specific events using the Filter events by names or messages field.
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.