Setting Up Stackdriver Trace

App Engine

Stackdriver Trace is automatically enabled for all applications running on App Engine standard environment. App Engine standard environment applications do not require any additional instrumentation libraries or SDKs.

For setup in the App Engine flexible environment, see the following section, VMs or containers.

VMs or containers

Applications running on VMs or containers are not automatically traced. This includes VM instances from Compute Engine and App Engine flexible environment, and containers in Google Kubernetes Engine. Use the SDKs listed below, or the Stackdriver Trace API, to send traces to the service.

C#

Stackdriver Trace can be enabled for C# ASP.NET core and ASP.NET applications: See Setting Up Stackdriver Trace for ASP.NET core. See Setting Up Stackdriver Trace for ASP.NET.

Java

The Google Cloud Trace SDK for Java is available on GitHub:

https://github.com/GoogleCloudPlatform/cloud-trace-java

Go

See Setting Up Stackdriver Trace for Go.

Node.js

See Setting Up Stackdriver Trace for Node.js.

Ruby

The Stackdriver Trace SDK for Ruby is available on GitHub.

https://github.com/GoogleCloudPlatform/google-cloud-ruby/tree/master/google-cloud-trace

Viewing traces

After deployment, you can view recorded traces and inspect the RPCs in your application.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Stackdriver Trace