Skip to content

Latest commit

 

History

History
 
 

java-agent

This SparkJava-based example builds a container image that includes the Stackdriver Debugger Java Agent. This project assumes the resulting image will be run inside Google Cloud Platform.

To build the image:

  1. Replace REPLACE-WITH-YOUR-GCP-PROJECT with your GCP project in pom.xml or build.gradle.

  2. Run mvn package or ./gradlew to build the image.

SparkJava listens on port 4567 by default.

Build and run on Google Cloud

Run on Google Cloud