665 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
54
views
Tracking Speech-to-Text usage per client with gRPC custom metadata in Google Cloud Logs
I am implementing a system using Google Cloud Speech-to-Text (STT) services via gRPC streams and need a reliable way to track usage per client for quota management. I want Google Cloud's logging ...
0
votes
1
answer
78
views
Google Cloud log-based alert policy not triggering any incidents
I’m having trouble getting a log-based alert policy to work in Google Cloud Monitoring. I can see the logs in the Logs Explorer and the filter seems to match correctly, but the alert never triggers ...
3
votes
1
answer
778
views
After upgrading from PHP 8.3 to 8.4 I get "Maximum call stack size ... reached. Infinite recursion?"
After upgrading my project from PHP 8.3 to PHP 8.4, I started getting the following error:
Maximum call stack size of 8339456 bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reached. ...
3
votes
1
answer
116
views
Google Cloud Logging API "Control Requests" Quota Exceeded in Calling Project for Cross-Project Operations
Problem:
Our backend service (in Project A) interacts with resources in Project B (e.g., fetching Logging buckets). While resource-specific quotas (e.g., log ingestion) are correctly consumed by ...
0
votes
1
answer
72
views
Unable to fetch GCP Dataflow worker logs using Python google-cloud-logging despite correct filter
def check_worker_logs(event_uuid, dataflow_project, dataflow_job, timeframe_mins=30):
# Start time of the worker log
start_time = (datetime.utcnow() - timedelta(minutes=timeframe_mins))....
0
votes
0
answers
157
views
Can't get a real response from Vertex AI on Cloud Run
I'm new to Vertex AI/hosting things on Cloud Run.
I went to Prompt management, created a prompt, and clicked Build with code. Now my prompt is hosted on Google run in a Gradio app.
When I go to the ...
1
vote
1
answer
100
views
How can I create GAUGE COUNTER using log-based metrics in cloud logging?
I am logging an INT64 value (something like CPU usage) in my cloud function and I want to turn it into a metrics in cloud monitoring, it seems like I can either integrate directly with cloud ...
0
votes
1
answer
119
views
Can custom headers be added to automatically generated Cloud Logging logs in Cloud Run?
A similar question was asked nearly two years ago, but there was no confirmed answer. Is it now possible to add custom attributes to the automatically generated logs in Cloud Run?
I’m not referring to ...
1
vote
2
answers
431
views
Logging to the console can be slow [closed]
Google has some recommendations about logging in their blog page here:
Logging recommendations for containerized applications
Before we dive into some typical use cases for logging in GKE, let's ...
1
vote
1
answer
122
views
How to query Google Cloud Logging Log Analytics dataset via API in Node.js?
I have a set of services logging requests in Google Cloud Logging. Using Log Analytics (not to be confused with Logs Explorer), I can run complex queries on logs, including aggregations and GROUP BY ...
1
vote
1
answer
520
views
How to fetch real-time google cloud run job logs?
I am building a CI/CD kind of tool which is actually a web app. The stack is django-rest-framework on the backend and React (Vite) on the frontend.
Currently the pipeline running and the actions from ...
-2
votes
2
answers
155
views
Issue with Creating Pub/Sub and Log Sink in Docker Container
I am trying to create a Pub/Sub topic and a log sink in Google Cloud. The idea is to create a log sink and assign the role pubsub.publisher to the log sink's service account for the Pub/Sub topic ...
0
votes
1
answer
529
views
How to check error logs of "FcmService.SendMessage" request on Google Cloud
When checking the Firebase Cloud Messaging API console on Google Cloud ("API/Service Details"), it shows that 22.92% of google.firebase.fcm.v1.FcmService.SendMessage requests are failing.
...
0
votes
0
answers
49
views
Log-Based GDP Alert Policy Fails to Trigger Incidents and Send Emails
I'm following this tutorial.
Alert policy is created and I write a test log entry but no incident is created and no alert e-mail is sent.
My policy settings and status are bellow;
Configurations
Logs ...
1
vote
0
answers
64
views
Violated policy does not create alert
I have a Google project where I execute and log from an Apps Script. I created a log monitoring policy to be notified if severity>=ERROR and in the preview during policy creation the filter lists ...