Stackdriver (Tracing)

Introduction

Stackdriver Trace is a distributed tracing system that collects latency data from your applications and displays it in the Google Cloud Platform Console.

You can track how requests propagate through your application and receive detailed near real-time performance insights.
Stackdriver Trace automatically analyzes all of your application’s traces to generate in-depth latency reports to surface performance degradations, and can capture traces from all of your VMs, containers, or Google App Engine projects.

Insert the following snippet in your `pom.xml`:
<properties><project.build.sourceEncoding>UTF-8</project.build.sourceEncoding><opencensus.version>0.16.0</opencensus.version><!-- The OpenCensus version to use --></properties><dependencies><dependency><groupId>io.opencensus</groupId><artifactId>opencensus-api</artifactId><version>${opencensus.version}</version></dependency><dependency><groupId>io.opencensus</groupId><artifactId>opencensus-impl</artifactId><version>${opencensus.version}</version><scope>runtime</scope></dependency><dependency><groupId>io.opencensus</groupId><artifactId>opencensus-exporter-trace-stackdriver</artifactId><version>${opencensus.version}</version></dependency></dependencies>