View metrics

This topic explains how to view Apigee hybrid metrics in aCloud Operations dashboard.

About Cloud Operations

For more information about metrics, dashboards, andCloud Operations see:

Enabling hybrid metrics

Before hybrid metrics can be sent toCloud Operations,you must first enable metrics collection. SeeConfigure metrics collectionfor this procedure.

Note:Metrics for the Apigee ingress gateway is not supported. SeeKnown issues.

About hybrid metric names and labels

When enabled, hybrid automatically populates Cloud Operations metrics. The domain name prefixof the metrics created by hybrid is:

apigee.googleapis.com/

For example, the/proxy/request_count metric contains the total number of requests receivedby an API proxy. The metric name in Cloud Operations is therefore:

apigee.googleapis.com/proxy/request_count

Cloud Operations lets youfilterandgroupmetrics data based on labels. Some labels are predefined, and others are added explicitly by hybrid.TheAvailable metrics section below lists all of the available hybridmetrics and any labels added specifically for a metric that you can use for filtering and grouping.

Viewing metrics

The following example shows how to view metrics in Cloud Operations:
  1. Open theMonitoring Metrics Explorer in a browser. Alternatively, if you're already in the Cloud Operations console, selectMetrics explorer.
  2. InFind resource type and metric, locate and select the metric you want to examine. Choose a specific metric listed inAvailable metrics, or search for a metric.

  3. Select the desired metric.
  4. Apply filters. Filter choices for each metric are listed inAvailable metrics.
  5. Cloud Operations displays the chart for the selected metric.
  6. ClickSave.

Creating a dashboard

Dashboardsare one way for you to view and analyze metric data that is important to you.Cloud Operations provides predefined dashboards for the resources and services that you use,and you can also create custom dashboards.

You use achartto display an Apigee metric in your custom dashboard. With custom dashboards, you have complete controlover the charts that are displayed and their configuration. For more information on creating charts, seeCreating charts.

The following example shows how to create a dashboard in Cloud Operations and then to add charts to view metrics data:

  1. Open theMonitoring Metrics Explorer in a browser and then selectDashboards.
  2. Select+ Create Dashboard.
  3. Give the dashboard a name. For example:Hybrid Proxy Request Traffic
  4. ClickConfirm.
  5. For each chart that you want to add to your dashboard, follow these steps:

    1. In the dashboard, selectAdd chart.
    2. Select the desired metric as described above inViewing metrics.
    3. Complete the dialog to define your chart.
    4. ClickSave. Cloud Operations displays data for the selected metric.

Available metrics

The following tables list metrics for analyzing proxy traffic. For more information about each Apigee metric, seeGoogle cloud metrics.

Proxy, target, and server traffic metrics

Open Telemetry collects and processes metrics (as described inMetrics collection) forproxy, target, and server traffic.

The following table describes the metrics that the Open Telemetry collector uses.

Metric nameUse
/proxy/request_countNumber of requests to the Apigee proxy since the last sample was recorded.Note: Available for Apigee hybrid v1.12 and higher.
/proxy/response_countNumber of responses sent by the Apigee API proxy.Note: Available for Apigee hybrid v1.12 and higher.
/proxy/latenciesDistribution of latencies, which are calculated from the time the request was received by the Apigee proxy to the time the response was sent from the Apigee proxy to the client.Note: Available for Apigee hybrid v1.12 and higher.
/proxyv2/request_countThe total number of API proxy requests received.
/proxyv2/response_countThe total number of API proxy responses received.
/proxyv2/latencies_percentilePercentile of all API policy responses to a request.
/target/request_countNumber of requests sent to the Apigee target since the last sample was recorded.Note: Available for Apigee hybrid v1.12 and higher.
/target/response_countNumber of responses received from the Apigee target since the last sample was recorded.Note: Available for Apigee hybrid v1.12 and higher.
/target/latenciesDistribution of latencies, which are calculated from the time the request was sent to the Apigee target to the time the response was received by the Apigee proxy. Time does not include the Apigee API proxy overhead.Note: Available for Apigee hybrid v1.12 and higher.
/targetv2/request_countThe total number of requests sent to the proxy's target.
/targetv2/response_countThe total number of responses received from the proxy's target.
/server/fault_count

The total number of faults for the server application.

For example, the application could beapigee-runtime orapigee-synchronizer. Use thepod_name label to filter results by application.

/server/nioThis is a gauge metric that can be filtered by the labelstate to retrieve details for various labels. The values represent different system and I/O operations. Labels such asaccepted,accepted_total,close_failed,close_success,conn_pending,connected,connected_total,max_conn, andtimeouts are related to socket and connection operations. The remaining labels pertain to other system operations.
/server/num_threadsThe number of active non-daemon threads in the server.
/server/request_count

The total number of requests received by the server application.

For example, the application could beapigee-runtime orapigee-synchronizer. Use thepod_name label to filter results by application.

/server/response_count

Total number of responses sent by the server application.

For example, the application could beapigee-runtime orapigee-synchronizer. Use thepod_name label to filter results by application.

/server/latencies

Latency is the latency in millisecs introduced by the server application.

For example, the application could beapigee-runtime orapigee-synchronizer. Use thepod_name label to filter results by application.

/upstream/request_count

The number of requests sent by the server application to its upstream application.

For example, for the apigee-synchronizer, the control plane is upstream. Soupstream/request_count forapigee-synchronizer is a metric that indicates the requests thatapigee-synchronizer made to the control plane.

/upstream/response_count

The number of responses received by the server application from its upstream application.

For example, for theapigee-synchronizer, the control plane is upstream. Soupstream/response_count forapigee-synchronizer is a metric that indicates the requests thatapigee-synchronizer received from the control plane.

/upstream/latencies

The latency incurred at the upstream server application in milliseconds.

For example, for theapigee-synchronizer, the control plane is upstream. Soupstream/latencies forapigee-synchronizer is a metric that indicates the latency from the control plane.

Cassandra metrics

Open Telemetry collectsand processes metrics (as described inMetrics collection) forCassandra just as it does for other hybrid services.

The following table describes the metrics that the Open Telemetry collector uses in theCassandra metrics data.

Metric name (excluding domain)Use
/cassandra/process_max_fdsMaximum number of open file descriptors.
/cassandra/process_open_fdsOpen file descriptors.
/cassandra/jvm_memory_pool_bytes_maxJVM maximum memory usage for the pool.
/cassandra/jvm_memory_pool_bytes_initJVM initial memory usage for the pool.
/cassandra/jvm_memory_bytes_maxJVM heap maximum memory usage.
/cassandra/process_cpu_seconds_totalUser and system CPU time spent in seconds.
/cassandra/jvm_memory_bytes_usedJVM heap memory usage.
/cassandra/compaction_pendingtasksOutstanding compactions for Cassandra sstables. SeeCompaction for more.
/cassandra/jvm_memory_bytes_initJVM heap initial memory usage.
/cassandra/jvm_memory_pool_bytes_usedJVM pool memory usage.
/cassandra/jvm_memory_pool_bytes_committedJVM pool committed memory usage.
/cassandra/clientrequest_latencyRead request latency in the 75th percentile range in microseconds.
/cassandra/jvm_memory_bytes_committedJVM heap committed memory usage.

Working with Cassandra metrics

Apigee recommends the following metrics as critical to monitor for your Cassandra database:

Recommendations for scaling the Cassandra cluster

The following guidelines can serve as a recommended cluster for the decision to scale your Cassandra cluster. In general, if read or write requests consistently show 99th percentile latency or the latency is trending upwards continuously, and you see corresponding spikes in CPU request utilization spike and the read or write request rates, your Cassandra cluster can be considered to be under stress. You may want to consider scaling up the cluster. For more information seeScaling Cassandra

MetricThresholdTrigger duration
kubernetes.io/pod/volume/utilization85%5min
kubernetes.io/container/cpu/request_utilization85%3min
Read request Latency 99thPercentile5s3min
Write request Latency 99thPercentile5s3min

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-18 UTC.