Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
101 views

The following promql query returns the logging.googleapis.com/log_entry_count metric in the global namespace: increase({"__name__"="logging.googleapis.com/log_entry_count","...
red888's user avatar
  • 32.5k
0 votes
1 answer
574 views

I'm trying to convert an MQL query I'm using in a GCP alert policy to PromQL while also aggregating by user labels. This is the MQL: fetch gce_instance | metric 'agent.googleapis.com/cpu/load_5m' | ...
red888's user avatar
  • 32.5k
0 votes
1 answer
159 views

I'm experimenting with a custom metric. The same metric and labels were being written in different projects at the same time. They should have been identical, but when I view the metric I see this: ...
red888's user avatar
  • 32.5k
0 votes
1 answer
90 views

Is there a way to use catalina_globalrequestprocessor_requestcount metric (or another MBean metric) to track requests as a rate (e.g., requests per second) for use with HPA? Background We're using an ...
brandizzi's user avatar
  • 27.5k
0 votes
1 answer
249 views

This is very confusing because the docs make it sound like I choose a resource type when I'm manually creating a descriptor: https://cloud.google.com/monitoring/custom-metrics/creating-metrics#create-...
red888's user avatar
  • 32.5k
0 votes
2 answers
832 views

When writing custom metrics you have resource labels and metric labels. Resource labels are labels that are required by the resource. So if I choose the generic_task resource type and exclude the ...
red888's user avatar
  • 32.5k
1 vote
1 answer
118 views

I have a Rails app running in GKE and I'm trying to set up Google Cloud Error Reporting. I have installed the stackdriver gem and required it on application startup. I can manually report errors from ...
brentmc79's user avatar
  • 2,541
1 vote
1 answer
237 views

We are using HPA with custom metrics from a Java application in GKE. (More on that in this previous question.) We would like to use a untyped metric, though. What we have done So far, we did this: ...
brandizzi's user avatar
  • 27.5k
-1 votes
1 answer
189 views

I'm trying to understand the utility of "user labels" for my uptime checks: https://cloud.google.com/monitoring/uptime-checks#create I was expecting it to work like other resources. I want ...
red888's user avatar
  • 32.5k
0 votes
1 answer
621 views

We're trying to use a custom JVM metric (jvm_memory_bytes_used{area="heap"}) to scale a deployment in our GKE cluster using a Horizontal Pod Autoscaler (HPA). Setup: Enabled Stackdriver ...
brandizzi's user avatar
  • 27.5k
0 votes
1 answer
390 views

I'm having a hard time finding out if this is even supported because the docs don't outright say I can increase this retention at all or not: https://cloud.google.com/monitoring/quotas#...
red888's user avatar
  • 32.5k
0 votes
0 answers
271 views

We have recently migrated our application from Python 2 to Python 3 on Google App Engine and are encountering a recurring issue related to logging. Despite the application's functionality appearing ...
Aryaman Agrawal's user avatar
1 vote
1 answer
145 views

I have these two variables set in intellij GOOGLE_CLOUD_PROJECT and SPRING_CLOUD_GCP_LOGGING_PROJECT_ID but still LoggingAppender class is getting projectId null and ultimately reading from service ...
Mehul Parmar's user avatar
1 vote
1 answer
342 views

I have a spring application packaged inside a docker image and running in GKE pods. I want to disable stackdriver logging but only for this application in gke. Is there any env variable/property I can ...
Mehul Parmar's user avatar
0 votes
1 answer
472 views

I am currently checking for an option to reduce Cloud SQL logging cost (Cloud Logging cost in GCP). Currently the Cloud SQL instance is writing millions of log entries in stackdriver per day. Out of ...
Ananth's user avatar
  • 119

15 30 50 per page
1
2 3 4 5
…
49