17 questions
Score of 1
0 answers
115 views
Integrating @google-cloud/profiler in React App with Django Backend
I'm working on a project where I have a React front-end and a Django back-end. I need to integrate @google-cloud/profiler for specific functionalities in the React application. I've already set up my ...
Score of 2
1 answer
468 views
Memory issues after migrating App Engine Standard app from Java 8 to Java 11 with bundled services
There is an app that needs to be migrated from the Java 8 runtime to Java 11 runtime in App Engine Standard environment. It was decided to take the simplest route and to migrate to Java 11 with ...
Score of 1
1 answer
343 views
Cloud Profiler is not working for all Dataflow jobs
We're creating Dataflow job templates and launching new jobs using
google-api-python-client library. Cloud Profiler is enabled for all jobs by default during Dataflow job template creation.
python3 -m ...
Score of 1
0 answers
285 views
Unable to start Google Cloud Profiler due to error: Unable to find the job id or job name from env var
We followed the Cloud Profiler documentation to enable the Cloud Profiler for our Dataflow jobs and the Profiler is failing to start.
The issue is, Cloud Profiler needs JOB_NAME and JOB_ID environment ...
Score of 1
1 answer
3231 views
How to use GCP Profiler on Google Cloud Run?
I tried using the following code but it doesn't seem to be sending data to GCP Profiler
import * as profiler from "@google-cloud/profiler";
if (process.env.NODE_ENV === "production&...
Score of 0
1 answer
819 views
GCP Profiler does not find my profiler agent running in GKE
I have a java 11 microservice running in GKE and I've been attempting to attach the java profiling agent provided by GCP.
My Dockerfile is as follows:
FROM openjdk:11-jdk
# Default to UTF-8 file....
Score of 0
0 answers
539 views
Google-Cloud Profiler for App Engine Flexible application in NodeJS
I'm trying to enable Google Cloud Profiler into my Node.js application running on App Engine Flexible environment. The profiler is working, I get generated profile.
In the log of my App Engine ...
Score of 0
1 answer
583 views
Google Cloud CPU profiling not showing useful data
After my application was running @ 400%+ CPU usage in a dockerised app, I decided to try using @google-cloud/profiler. The setup was easy enough but I am disappointed with what I see in the UI:
As ...
Score of 1
0 answers
267 views
AppEngine application: Massive difference between CPU time and Wall time in Cloud Profiler
CPU time Cloud Profile
Wall time Cloud Profile
Using Cloud Profiler I found out that my service is spending more than 99% of the time waiting. The difference between CPU time and Wall time is massive ...
Score of 0
2 answers
361 views
Would like to get build information from Google Cloud Profiler
I'm using Google Cloud Profiler (located at https://console.cloud.google.com/profiler) and would like to know how my profiling data changes across different builds of my application.
One way to do ...
Score of 1
1 answer
721 views
Google Cloud Profiler showning [Unknown - No Python thread state]
Today I started using Google Cloud Profiler for a Python3 project running on Google App Engine Standard Environment.
I expected to see references to my functions in the resulting flame graph, I spot ...
Score of 1
1 answer
958 views
Trouble in installing GCP Profiler agent in Docker
I am trying to install the GCP Profiler agent for my app which runs in GKE, following instructions here: https://cloud.google.com/profiler/docs/profiling-java
I can't get past this error. Can someone ...
Score of 3
1 answer
693 views
When to start the google cloud profiler in a Django project?
I'm attempting to add the google cloud profiler to my Django App Engine project, and would like to know where the best place to call it is?
Google Cloud Platform's documentation says to start the ...
Score of 0
1 answer
1145 views
google-cloud-profiler metadata server WARNING
I am trying to use Google Cloud Profiler in a python script running locally. It seems it is having problems to connect with a metadata server:
WARNING:googlecloudprofiler.client:Failed to fetch ...
Score of 0
1 answer
281 views
Logging level of Google Cloud Profiler Java agent
How to change the log level of Java profiler? I am running the profiler outside GCP.
Although, Profiler is working fine. It is repeatedly logging following errors:
E0803 12:37:37.677731 22 cloud_env....