Skip to content

matt4biz/go-gae-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

App Engine examples

This repo holds examples that I presented in the March 2021 Go Developer's Network (GDN) via GoBridge.

The video is here and the slides are here.

Default

The default app is just a placeholder for the default App Engine app in a project.

Todo

The todo app just takes data from a JSON test site and reformats it into a web page via a template.

The code shows connecting to GCP Stackdriver profiling and has an error that leaks goroutines. It also shows getting the incoming trace tag from a request header and putting that into logs from the app.

Sort

The sort app animates various sorting algorithms (see the code).

The code shows creating and registering custom metrics with OpenCensus which are then exported to Stackdriver.

You can also see the profiling and log trace examples from the todo app also.

Working with the examples

You'll need a GCP project of your own where you can run App Engine apps and use monitoring and profiling.

Each application has its own YAML file for deploying to GCP, e.g., gcloud app deploy --appyaml=default-app.yaml.

About

GAE example apps

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages