https://github.com/pellared/gocracow-opentelemetry-go
https://github.com/pellared/gocracow-opentelemetry-go
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/pellared/gocracow-opentelemetry-go
- Owner: pellared
- License: cc0-1.0
- Created: 2023-06-27T07:11:52.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-18T23:06:05.000Z (over 2 years ago)
- Last Synced: 2025-02-08T21:29:41.248Z (over 1 year ago)
- Language: Go
- Size: 159 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenTelemetry for Go Developers: A Gentle Introduction
[Presentation](https://docs.google.com/presentation/d/1ufmrOUlN1Sbbj9ukxY2IdPL-2IDZTypAkSEeQ7eltJo/edit?usp=sharing)
Requirements:
- Go 1.20
- Docker Compose v2
Build and run the backend:
```sh
docker compose up -d
go install todo/cmd/todoservice
todoservice
```
Build and use the CLI app:
```sh
go install todo/cmd/todo
todo
todo add "important work"
todo list
todo add "very long description that is extremely important"
```
Browse exported telemetry:
- [Traces](http://localhost:16686)
- [Metrics](http://localhost:8889/metrics)