Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
122 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
609 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
166 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
96 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
254 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
849 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
119 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
238 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
191 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
623 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
397 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
146 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
345 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
478 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
0 votes
0 answers
156 views

There has been many posts about this topic, but I was not able to find a definite answer on establishing correlated logs under the HTTP Request logs like it used to be in App Engine using Python 2.7 I ...
Khaled's user avatar
  • 927
0 votes
1 answer
2k views

I have a GCP project with various metrics that are gathered automatically by GCP monitoring (ex. Stackdriver). I also have a GKE cluster running a prometheus server. I am trying to ingest all metrics ...
Nick's user avatar
  • 190
1 vote
1 answer
106 views

Where I can view the stack driver logs in Log Explorer GCP console? I didn't get any information regarding this. Previously there used to be a console saying Stackdriver Logging. Is stackdriver logs ...
Pawan Gorai's user avatar
1 vote
1 answer
289 views

For around three weeks now, I see these errors in Google Cloud console, for a Golang Appengine app: {"errorReference":"ixWACIGAwIxxxxxxxxMCJu5TG-ykYAjIKGICAwIm7lMb7KWiBgMCJu5TG-ykD&...
Mike's user avatar
  • 43
1 vote
0 answers
990 views

I'm attempting to upgrade from the legacy fluentd logging agent to fluent-bit on Container-Optimized OS, as recommended here. These are Java logs in JSON format, produced by logback, and configured ...
marthursson's user avatar
  • 3,300
1 vote
0 answers
220 views

I have Airflow 2.5.1 deployed on a Kubernetes Cluster with the official helm chart. The executor is KubernetesExecutor. I want to write and read the airflow logs remotely on Stackdriver. In my code I ...
Ire00's user avatar
  • 151
2 votes
2 answers
904 views

I have a log based metric where the resource type is not defined. How do I build a MQL query for a log based metric for the following: logging.googleapis.com/user/MY_METRIC If I use the "...
user2962698's user avatar
1 vote
0 answers
275 views

I want to initialize Google Cloud Metric Service Client (AKA Stackdriver)(Google.Cloud.Monitoring.V3.MetricServiceClient) for a local C# application. gcloud auth application-default login with ...
Turgay Senlet's user avatar
0 votes
1 answer
127 views

Have a google stack driver appender in my log4net configuration but during initialization I get an error about not being able to cast as an IAppender. Here's the reference for the appender. <...
Nick__Dudas's user avatar
1 vote
1 answer
1k views

I see the following two lines in my GKE Cluster logs from my golang app containers. The error is intermittent (few errors every couple of days). I have been unable to find much information on it. ...
hahmed's user avatar
  • 655
0 votes
1 answer
197 views

I have a native app that is configured to include a version number in the user-agent request header in a regex-parseable format. I'd like to include a metric in a Cloud Monitoring dashboard that shows ...
Brad J's user avatar
  • 267
0 votes
2 answers
1k views

My application runs in the following error when trying to perform Stackdriver AsyncReporter health check. I can't seem to find which authentication scopes are required for this from the documentation. ...
i-haidar's user avatar
0 votes
1 answer
580 views

I am trying to wrap my head around Threshold value in the context of creating an alerting policy for an external HTTP load balancer: Resource type: https_lb_rule Metric: https/request_count The docs ...
Nosail's user avatar
  • 499
0 votes
0 answers
222 views

We use alert policies in order to monitor issues with some of our services. For a small subset of our alert policies, we'd like to react in an automated way to incidents raised by one of our alert ...
Thomas W.'s user avatar
  • 560
0 votes
0 answers
238 views

We have around 100 alerting policies and each incident triggers an email notification to relevant notification channels. I am looking for a way to send out 1 email notification based on the open ...
Sam's user avatar
  • 179
1 vote
1 answer
356 views

I've multiple gke clusters (stg, dev, prod), And I'm using the error reporting service to get alerts about errors, so is there anyway to filter the errors based on the gke cluster name, e.g (getting ...
Ahmed Elsherbiny's user avatar
0 votes
1 answer
903 views

Initially I was trying to accomplish what I describe in my previous question: How to create log-based-metric alert (email notification) with Google Cloud SDK? Basically, only using the Google Cloud ...
juanddiaz13's user avatar
0 votes
1 answer
1k views

Default fluentbit config for Anthos clusters on AWS [FILTER] Name kubernetes Match k8s_container.* Kube_URL https://kubernetes....
Ivan Aracki's user avatar
  • 5,561
1 vote
1 answer
657 views

In our Airflow DAG code, we are trying to write the airflow logs directly into stack-driver using the sample code present in: https://cloud.google.com/logging/docs/reference/libraries#log-entries ...
djgcp's user avatar
  • 313
3 votes
1 answer
2k views

I'm using GCP compute Engine with Container Optimized OS. I enabled Logging and Monitoring on that instance. Logging and Monitoring has write permissions But it always show Not applicable for ...
Azeem Haider's user avatar
  • 1,533
1 vote
1 answer
2k views

I'm having an issue with some missing logs from GKE container in Cluod Logging. I have an Spring boot application deployed on GKE with Log4j2. All the logs generated by the application are always ...
user17346823's user avatar
1 vote
1 answer
4k views

In my GKE cluster (version v1.21.10-gke.2000) I would like to see output produced by pods/containers as logs in Logs Explorer. But clicking on Container Logs link in Workloads' Overview tab makes Logs ...
user162185's user avatar
5 votes
1 answer
3k views

I have a NestJS application that I am running on cloud run in Google Cloud (GCP). When viewing the logs in GCP from "Logs Explorer," I can see all log output from my NestJS app only when the ...
Mule's user avatar
  • 898
1 vote
2 answers
1k views

How can we get the cluster owner details in GKE. Logging part only contains the entry with service account operations and there is no entry with principal email of userId anywhere. It seems very ...
saurabh umathe's user avatar
2 votes
2 answers
2k views

Background (skip to "The Problem" for end goal) Take an example endpoint /process-batch that processes a batch of items given a single request. Upon receiving that request, it logs the ...
Mario Ishac's user avatar
  • 6,157
3 votes
0 answers
741 views

I have a Compute Engine Instance using a Container-optimized OS. I had setup stackdriver in order to track disk utilization of the VM instance. I enabled the stackdriver monitoring agent so using the ...
classicbox's user avatar
0 votes
1 answer
901 views

I've added structured error reporting to my Google Cloud Function like mentioned here: https://cloud.google.com/functions/docs/monitoring/logging#writing_structured_logs. I'm wondering if I can ...
Philippe Sabourin's user avatar
0 votes
0 answers
106 views

I would like to update a stackdriver alert policy using the monitor api with gcloud. I'm getting an error for the condition. I'm basically trying to add a filter to get rid of /dev/loop.* devices. ...
Marc Carr's user avatar
1 vote
0 answers
296 views

Was hoping if anyone of anyone could assist - basically I am experiencing an issue where DateTime format in my Payload is UTC(Non human-readable format) "2022-03-02T20:48:29.847676541Z". Now ...
user2315182's user avatar
1 vote
1 answer
2k views

I keep reading that I can write a log query to sample a percentage of logs but I have found zero examples. https://cloud.google.com/blog/products/gcp/preventing-log-waste-with-stackdriver-logging\ You ...
red888's user avatar
  • 32.5k
1 vote
0 answers
139 views

Am trying to read the custom counters from our Cloud Dataflow jobs into Grafana using Google Cloud Monitoring datasource but unable to do that (am able to get these from Stackdriver monitoring). Am ...
gcppro's user avatar
  • 11
1 vote
2 answers
528 views

Any Stackdriver monitoring metric available to identify the top hitting IP Addresses on my Google Compute engine instances or Google Load Balancer Service . Any other native GCP tool available which ...
Zama Ques's user avatar
  • 1,554
0 votes
0 answers
461 views

Lately, our team is occasionally experiencing really slow response when writing log messages to Stackdriver. We're using the .NET SDK Google.Cloud.Logging.V2 version 2.3.0 library. Measurement is done ...
OnionJack's user avatar
  • 160
1 vote
2 answers
5k views

I'm trying to install a Ops agent on a Google VM and some index files failed to download (error 404) Command i used following documentation : curl -sSO https://dl.google.com/cloudagents/add-google-...
Ingmar Gb's user avatar
1 vote
2 answers
1k views

I have to create an alert on CPU utilization metric of a VM in GCP and it must follow the below condition: first notification will send to email when threshold >50% second notification will send ...
dushyant's user avatar
  • 369

1
2 3 4 5
15