Questions tagged [google-cloud-metrics]

22 questions
0
votes
0 answers

Creating alert policy from log based metrics doesn't show up any logs in the Alert page

I have created a custom metric (query: resource.type=gae_app "protoPayload.methodName=google.appengine.v1.Versions.CreateVersion")from the Log Explorer and trying to create an alert policy for that. I don't find the resource_type "Log metrics" as…
0
votes
0 answers

API to calculate the total time a VM is available or down since its creation

I am trying to prepare a VM Availability Report for compute Engine Instances. For this I need to gather the following metrics: The Time VM was available since its creation The Time VM was down When I went through the metrics api, in…
0
votes
2 answers

clarification regarding difference between ALIGN_MEAN and ALIGN_SUM in google cloud metric explorer

I am collecting metrics related to memory using api compute.googleapis.com/guest/memory/bytes_used from google cloud metric explorer. I selected a particular instanceid and I set the alignment period to 1 day. so that I will get the metrics for 1…
0
votes
1 answer

403 error when trying to list metrics in different project through monitoring api from app engine

I am using an app engine application written in python2.7 to collect monitoring metrics from different projects. I am running this from cloud shell The app engine application is deployed in projectA and it is able to collect the metrics from…
0
votes
1 answer

Monitoring api in Google gives "By" as response

I am reading monitoring data through Google Timeseries api. The api is working correctly and if give alignment period=3600s it gives me the values for that time series between start and end time for any metric type. I am calling it through Python…
0
votes
1 answer

Incorrect Google Cloud metrics? or what is going on?

My background is more from the Twitter side where all stats are recorded minutely so you might have 120 request per minute. Inside twitter someone had the bright idea to divide by 60 so most graphs(except some teams who realize dividing by 60 is…
Dean Hiller
  • 19,235
  • 25
  • 129
  • 212
-2
votes
2 answers

How to use MQL with node.js?

I have created a Monitoring Metrics Dashboard in my Google Cloud Console. The dashboard is working as expected, but since my app is highly dependent on those metrics, I was thinking about creating a schedule to see these metrics data and update the…
Ravers
  • 988
  • 2
  • 14
  • 45
1
2