Stackdriver for Go

Stackdriver provides powerful monitoring, logging, and diagnostics for Go applications.

Go libraries are available for the following Stackdriver services:


Stackdriver Debugger is a feature of Google Cloud Platform that lets you inspect the state of a Go application, at any code location, without stopping or slowing down the running app. To get started with Stackdriver Debugger, see Setting Up Stackdriver Debugger for Go.

Error Reporting

Stackdriver Error Reporting for Go aggregates and displays errors produced in your running Go applications. To get started with Stackdriver Error Reporting, see Setting Up Stackdriver Error Reporting for Go.


Stackdriver Logging for Go allows you to store, search, analyze, monitor, and alert on log data and events in Go applications. We provide a Stackdriver Logging API client library with standard library logger support. To get started with Stackdriver Logging, see the Setting Up Stackdriver Logging for Go.


Stackdriver Monitoring for Go collects metrics, events, and metadata from Go applications. Stackdriver ingests that data and generates insights via dashboards, charts, and alerts.

To get started with Stackdriver Monitoring, see the Cloud Client Libraries for the Stackdriver Monitoring API for installation and usage of the Go library.


Stackdriver Trace is a distributed tracing system for Google Cloud Platform that collects latency data from Go applications and displays it in near real time in the Google Cloud Console. To get started with Stackdriver Trace, see Setting Up Stackdriver Trace for Go and read Distributed tracing for Go for further insights.