Cloud Monitoring uptime check to Cloud Run inside a Serverless VPC

Hi - we have a Cloud Run service inside a Serverless VPC that is only accessible through IAP. I have tried in vain to understand how to use Cloud Monitoring Uptime Check capability.  Is it possible ?  If yes, how please ?

Thanks!

 

Solved Solved
1 1 1,098
1 ACCEPTED SOLUTION

Hello jeanlou_dupont,

Cloud Run  is automatically integrated with Cloud Monitoring with no setup or configuration required. This means that metrics of your Cloud Run services and jobs are captured automatically when they are running.

If you need custom metrics when using Cloud Run you should use Log Based Metrics. Creating custom metrics using the Cloud Monitoring API, or a Monitoring client library, or libraries like Open Census, isn't supported. 

Private uptime checks enable HTTP requests into a customer Virtual Private Cloud (VPC) network while enforcing Identity and Access Management (IAM) restrictions and VPC Service Controls perimeters.

You can check this documentation for the guide on how to create the Private Uptime Checks.

View solution in original post

1 REPLY 1

Hello jeanlou_dupont,

Cloud Run  is automatically integrated with Cloud Monitoring with no setup or configuration required. This means that metrics of your Cloud Run services and jobs are captured automatically when they are running.

If you need custom metrics when using Cloud Run you should use Log Based Metrics. Creating custom metrics using the Cloud Monitoring API, or a Monitoring client library, or libraries like Open Census, isn't supported. 

Private uptime checks enable HTTP requests into a customer Virtual Private Cloud (VPC) network while enforcing Identity and Access Management (IAM) restrictions and VPC Service Controls perimeters.

You can check this documentation for the guide on how to create the Private Uptime Checks.