Questions tagged [google-cloud-profiler]

Google Cloud Profiler (aka Stackdriver Profiler) is a production performance monitoring and analysis tool for Google Cloud Platform. It continuously collects detailed information about CPU, time and memory usage in a service, attributes it to the source code functions and visualizes that to enable identifying slow code paths. It is based on the continuous production performance monitoring infrastructure built within Google.

Google Cloud Profiler (aka Stackdriver Profiler) is a production performance monitoring and analysis tool for Google Cloud Platform. It continuously collects detailed information about CPU, time and memory usage in a service, attributes it to the source code functions and visualizes that to enable identifying slow code paths. It is based on the production performance monitoring infrastructure built within Google and used for massive vertical and horizontal performance savings and research.

Stackdriver Profiler

18 questions
3
votes
1 answer

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 profiler as early as possible: You should call start…
3
votes
2 answers

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 logging 2: enables warning logging 3: enables…
2
votes
2 answers

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 know what is this _tickCallback and which part of…
1
vote
1 answer

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 bundled services, i.e. the deployment is still done…
1
vote
1 answer

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 app.image_embeddings \ --job_name …
1
vote
0 answers

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 vars to start but the worker VM has only the…
1
vote
0 answers

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 as you can see in the above linked images. This…
1
vote
1 answer

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 only a [Unknown - No Python thread state] in CPU…
neurino
  • 11,500
  • 2
  • 40
  • 63
1
vote
1 answer

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 help? Could not find agent library…
0
votes
0 answers

What Google Cloud Wall Time Profiler Actually Mesure

I'm using google cloud profiler in my Node.JS application and I would like to understand the wall time. Is wall time profiler in Google Cloud Profiler also include the time I wait for async logic such as waiting for an API response? For example, If…
shay
  • 7
  • 4
0
votes
0 answers

What do the colors mean in Google Cloud Profiler?

What do the colors mean in the Google Cloud Profiler?
Dev01
  • 13,292
  • 19
  • 70
  • 124
0
votes
0 answers

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") { profiler.start(); } ... I just see this screen when I…
Dev01
  • 13,292
  • 19
  • 70
  • 124
0
votes
1 answer

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.encoding ENV LANG C.UTF-8 WORKDIR /app COPY…
0
votes
0 answers

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 application, I got this error: @google-cloud/profiler…
0
votes
1 answer

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 you can see, what is consuming the most resources,…
wmash
  • 4,032
  • 3
  • 31
  • 69
1
2