go-distributed-tracing icon indicating copy to clipboard operation
go-distributed-tracing copied to clipboard

Sample kubernetes config and golang apps to try distributed tracing with Stackdriver

Distributed tracing for Golang

This repository contains sample k8s config and golang microservices apps to try distributed tracing with GCP Stackdriver trace. After setup, you can see the following tracing. This contains tracing example both HTTP and gRPC requests.

Usage

To create k8s cluster for this,

$ ./cluster.sh 

To build docker images on GCP Container Builder,

$ ./cloudbuild.sh

To run apps in k8s, replace $PROJECT_ID with your GCP project ID in kubernetes.yaml.tmpl,

$ kubectl apply -f kubernetes.yaml

Reference