Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Not able to see the Apigee Proxy/Apigee Proxy (v2) in active resources in GCP Metrics

Hello,

I'm trying to create alerting policies in GCP for Apigee Proxies using the GCP Metrics Explorer. However, I'm unable to find Apigee Proxy / Apigee Proxy (v2) listed under active resources—they only appear under inactive resources, even though all Apigee proxies are actively receiving traffic.

Here are the IAM roles and permissions assigned to me:
1.Owner
2.Monitoring Admin
3.Organization Administrator

While I do have the ability to create alerts based on specific metrics, I’m unable to locate the necessary Apigee Proxy metrics under active resources.

I’ve attached screenshots for reference:
Figure 1: What I’m expecting to see - Apigee Proxy / Apigee Proxy (v2) listed as active resources.
image (32).png
Figure 2: What I’m currently seeing - Apigee Proxy / Apigee Proxy (v2) only under inactive resources.
image (33).png

0 8 144
8 REPLIES 8

Hi @deepaksngh - I have had this when there are not yet metrics ingested in a project, so then the Apigee metrics are under unactive. After making some API calls then the metrics become visible. Do you have traffic, and are you looking in the right project?

Hi @tyayers - Yes, traffic is coming in and I’ve confirmed that I’m looking in the correct project.
Thanks for replying.

Are you using Apigee X or Apigee hybrid?

It's Apigee Hybrid.

Then it's probably a permissions problem, that the hybrid cluster can't push the metrics up to the control plane. Check the docs for more info here, especially correctly configuring the ServiceAccount which needs the correct permissions to push metrics up to Google Cloud Monitor - https://cloud.google.com/apigee/docs/hybrid/v1.14/metrics-enable

Thanks @tyayers 

I've reviewed the documentation at https://cloud.google.com/apigee/docs/hybrid/v1.14/metrics-enable, and everything looks good for my project. I’ve also verified that the service account apigee-metrics@******prod.iam.gserviceaccount.com has the Monitoring Metric Writer role.

I just wanted to confirm with you — the GCP project and the Kubernetes cluster are in different regions:

Kubernetes cluster region: eu-west-1

GCP region: europe-west9

Would having different regions for the cluster and the GCP project cause any issues with metrics?

 

Thanks @tyayers 

I've reviewed the documentation at https://cloud.google.com/apigee/docs/hybrid/v1.14/metrics-enable, and everything looks good for my project. I’ve also verified that the service account apigee-metrics@******prod.iam.gserviceaccount.com has the Monitoring Metric Writer role.

I just wanted to confirm with you — the GCP project and the Kubernetes cluster are in different regions:

Kubernetes cluster region: eu-west-1

GCP region: europe-west9

Would having different regions for the cluster and the GCP project cause any issues with metrics?

 

No diffrent regions shouldn't matter.. @ncardace - do you have some other hints of why monitoring metrics aren't visible from Apigee hybrid in Google Cloud Monitoring?