All Products
Search
Document Center

Application Real-Time Monitoring Service:How can I view the collected data?

Last Updated:Jul 16, 2026

Method 1

  1. Go to the homepage of Grafana dashboards.
  2. In the left-side navigation pane, click the Explore icon.
  3. On the Explore page, select a cluster from the drop-down list. In the Metrics field, enter a PromQL statement and click Run Query in the upper-right corner.

    For example, the PromQL statement to query the ratio of CPU usage to CPU Limit for each Pod is (sum(rate(container_cpu_usage_seconds_total[1m])) by (pod_name) / sum(label_replace(kube_pod_container_resource_limits_cpu_cores, "pod_name", "$1", "pod", "(.*)")) ) by (pod_name)). Set Query type to Range. After execution, the CPU usage curves of each Pod are displayed as a line chart.

Method 2

  1. Log on to the ARMS console.

  2. In the left-side navigation pane, choose Prometheus Monitoring > Prometheus Instances.
  3. In the top navigation bar of the Prometheus Monitoring page, select the region where the monitored Kubernetes cluster resides. Then, click the name of the Kubernetes cluster.
  4. In the left-side navigation pane, click Service Discovery.
  5. Click the Targets tab.
  6. Click the show icon before a service name. Then, click the link in the Endpoint column of the table below the service name to view the collected metrics.

    The following is an example of the raw metric output:

    
    # HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.
    # TYPE go_gc_duration_seconds summary
    go_gc_duration_seconds{quantile="0"} 1.5523e-05
    go_gc_duration_seconds{quantile="0.25"} 1.9759e-05
    go_gc_duration_seconds{quantile="0.5"} 2.2416e-05
    go_gc_duration_seconds{quantile="0.75"} 3.3419e-05
    go_gc_duration_seconds{quantile="1"} 0.00019532
    go_gc_duration_seconds_sum 12.423399336
    go_gc_duration_seconds_count 422366
    # HELP go_goroutines Number of goroutines that currently exist.
    # TYPE go_goroutines gauge
    go_goroutines 89
    # HELP go_info Information about the Go environment.
    # TYPE go_info gauge
    go_info{version="go1.13.5"} 1
    # HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.
    # TYPE go_memstats_alloc_bytes gauge
    go_memstats_alloc_bytes 9.90884e+06
    # HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed.
    # TYPE go_memstats_alloc_bytes_total counter
    go_memstats_alloc_bytes_total 3.709689198752e+12
    # HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table.
    # TYPE go_memstats_buck_hash_sys_bytes gauge
    go_memstats_buck_hash_sys_bytes 2.081594e+06
    # HELP go_memstats_frees_total Total number of frees.
    # TYPE go_memstats_frees_total counter
    go_memstats_frees_total 2.6731819493e+10
    # HELP go_memstats_gc_cpu_fraction The fraction of this program's available CPU time used by the GC since the program started.
    # TYPE go_memstats_gc_cpu_fraction gauge
    go_memstats_gc_cpu_fraction 1.0117824260779791e-05
    # HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata.
    # TYPE go_memstats_gc_sys_bytes gauge
    go_memstats_gc_sys_bytes 2.414592e+06