Score:1

how to enable monitoring in google cloud for kubernetes through rest api

cn flag

Anyone can help me how to enable monitoring in google cloud through restapi.? just like in gcloud sdk

gcloud services enable monitoring

while creating a dashboard, able to see some metrics through rest api but not enable monitoring

Score:0
cm flag

Certain Google APIs are not publically accessible. As per the docs, Enabling the Monitoring API can be done only via Cloud Console or Cloud SDK. Only after enabling it, you can interact with it either directly or using client libraries. But it's not possible to enable this API via direct call to Google API.

Wytrzymały Wiktor avatar
it flag
Hello @sumitmadan and welcome to ServerFault! Please remember to [react to answers for your questions](https://stackoverflow.com/help/someone-answers). That way we know if the answers were helpful and other community members could also benefit from them. Try to [accept answer](https://stackoverflow.com/help/accepted-answer) that is the final solution for your issue, upvote answers that are helpful and comment on those which could be improved or require additional attention. Enjoy your stay!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.