简体   繁体   中英

Is there anything similar to AWS cloudwatch Integration in GCP

I want to get cloud metrics of a service deployed in GCP for my python project but I can't find anything like boto3 library for AWS. Is there any google API to fetch metrics like CPU utilization, memory used etc.

There is Google Cloud SDK for Python . That is the equivalent of boto3 . The difference is, as you can see from the link, instead of 1 single library, Google splits it into multiple libraries based on service. For example, for logging, the library is google-cloud-logging .

And of course they have APIs. This article from their docs explained the cloud logging API and even mentioned which Cloud Client Library to use.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM