17 questions
1
vote
0
answers
111
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 ...
2
votes
1
answer
465
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 ...
1
vote
1
answer
340
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 ...
1
vote
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 ...
1
vote
1
answer
3k
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&...
0
votes
1
answer
812
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....
0
votes
0
answers
536
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 ...
0
votes
1
answer
580
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 ...
1
vote
0
answers
266
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 ...
0
votes
2
answers
355
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 ...
1
vote
1
answer
715
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 ...
1
vote
1
answer
954
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 ...
3
votes
1
answer
691
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 ...
0
votes
1
answer
1k
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 ...
0
votes
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....
3
votes
2
answers
194
views
Google Cloud Stackdriver Profiling Nodejs which documentation is right regarding logLevel?
I was adding Profiling in my Google CLoud Nodejs App and i see here in the documentation docs/profiling-nodejs that suported loglevels are
0: disables all agent logging (default)
1: enables error ...
2
votes
2
answers
994
views
Google Cloud Profiling how to optimize my code by analyzing it?
I am trying to analyse the Google CLoud Stackdriver's Profiling, now can anyone please tell me how can I Optimize my code by using this.
Also, I cannot see any of my function name and all, i don't ...