Skip to content
Stackdriver Profiler Java agent is a tool that continuously gathers CPU usage information from Java applications
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Stackdriver Profiler Java Agent

This repository contains source code for the Stackdriver Profiler Java agent.


Most users should install the pre-built agent:

wget -q -O- \
| sudo tar xzv -C /opt/cprof

See the Stackdriver Profiler Java profiling doc for detailed and most up-to-date guide on installing and using the agent.

Build from Source

In rare cases that you need to build from source, a script is provided to build the agent using Docker. Make sure Docker is installed before running the commands below.

 $ git clone
 $ cd cloud-profiler-java
 $ ./
You can’t perform that action at this time.