962 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
166
views
if-else condition in Promql using Grafana Variables
I have a custom variable "Project_Name" in Grafana Dashboard. I want to execute below condition unsing Promql query in Stackdriver Metrics datasource(GCP)
if ($Project_Name == 'ALL') then :
...
2
votes
1
answer
2k
views
How to configure an OpenTelemetry Collector to pre-aggregate metrics across multiple resources
I have a service deployed on multiple instances, all reporting metrics to a common collector.
Each instance is identified by a triplet (service.namespace, service.name, service.instance.id).
However, ...
1
vote
1
answer
116
views
Ruby exceptions not appearing in Google Cloud Error Reporting
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 ...
-1
votes
1
answer
187
views
Are GCP monitoring uptime check metrics suppose to be aggregatable by user labels?
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 ...
6
votes
1
answer
449
views
How to make Google Stackdriver works with Rails 7.1+
I just spent a few hours looking over the internet to find out how to resolve that issue. But, for the life of me, I have no idea what to do...
I followed the documentation provided by Google github....
1
vote
1
answer
338
views
How to disable stackdriver logging in a spring application for a GCP project without creating a new docker image
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 ...
0
votes
1
answer
483
views
Cannot write Micrometer metrics to Google Stackdriver Monitoring: Permission Denied
I am receiving
io.grpc.StatusRuntimeException: PERMISSION_DENIED: Permission monitoring.metricDescriptors.list denied (or the resource may not exist).
at io.grpc.Status.asRuntimeException(Status....
0
votes
0
answers
243
views
How can I tail the GCP logs with HTTP without missing log entries?
I am writing a CLI to tail the GCP logs.
I am using the HTTP GET method to read the logs here:
https://cloud.google.com/logging/docs/reference/v2/rest/v2/entries/list
Issue: There are log entries ...
1
vote
1
answer
275
views
Mysterious Stackdriver error seems to suggest a bug with Stackdriver itself
For around three weeks now, I see these errors in Google Cloud console, for a Golang Appengine app:
{"errorReference":"ixWACIGAwIxxxxxxxxMCJu5TG-ykYAjIKGICAwIm7lMb7KWiBgMCJu5TG-ykD&...
0
votes
0
answers
789
views
Change severity of log entries in GCP logging
Is it possible to automatically change some properties of already logged entries (such as severity) automatically for old as well as for new logs in the future? For example I want to change severity ...
1
vote
0
answers
207
views
Issue with Airflow remote logs on Google Stackdriver
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 ...
1
vote
1
answer
548
views
Cannot get ratio of metrics on GCP Monitoring: Error 400: the numerator is a delta metric but the denominator is not a delta metric
I'm trying to create an Alert Policy based on the ratio of failed messages in a PubSub subscription. I like to use pubsub.googleapis.com/subscription/dead_letter_message_count as the numerator, and ...
0
votes
0
answers
475
views
GCP logging and Cloud tracing API returning 503 UNAVAILABLE Error
i am new to GCP cloud service, i am trying to setup the cloud logging/tracing for one the spring boot repository, so i am using the spring boot cloud gcp libraries, to perform the same.
i was trying ...
0
votes
0
answers
46
views
Incorrect stackdriver error formats for Autopilot GKE resources
We use GKE Autopilot, and configure everything with helm and terraform. We are seeing heaps of error logs due to what looks like incorrect error formatting coming through to stackdriver. The (mostly) ...
1
vote
1
answer
283
views
Migrate logs from Stackdriver to Grafana Loki
I am planning on migrating from Stackdriver as it is costly and the logs management isn't that clear, therefore I am going to implement Loki (Canary+Loki+Grafana).
My question is:
How do I migrate my ...