https://github.com/bryanl/apptracing-go
Exercises for Velocity OpenTracing workshop
https://github.com/bryanl/apptracing-go
Last synced: 3 months ago
JSON representation
Exercises for Velocity OpenTracing workshop
- Host: GitHub
- URL: https://github.com/bryanl/apptracing-go
- Owner: bryanl
- Created: 2017-06-19T00:21:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-24T17:43:19.000Z (almost 9 years ago)
- Last Synced: 2024-04-21T12:31:54.321Z (about 2 years ago)
- Language: Go
- Size: 698 KB
- Stars: 1
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Velocity 2017: Go AppTracing Exercise
To fetch the source:
`go get -u github.com/bryanl/apptracing-go`
## Getting started
1. Update docker compose to latest version: `pip install -U docker-compose`
1. Create docker environment: `docker-compose up -d`
1. Create database: `make create-db`
1. Import test data: `make import-people`
Exercises:
* [Tracing Functions](functions)
* [Tracing HTTP client/server](clientserver)
* [Exploring a bigger app](app)
```
docker run -it --network apptracinggo_velocity --rm -v $(pwd)/assets:/assets postgres:9.6 bash
```
```
createdb -h apptracinggo_db_1 -U postgres velocity2017
psql -h apptracinggo_db_1 -U postgres -f /assets/import_people.sql
```