Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gsabadini/go-opentelemetry-example
Example of trace instrumentation in Golang applications :bar_chart:
https://github.com/gsabadini/go-opentelemetry-example
distributed-tracing go golang jaeger open-telemetry open-telemetry-go opentelemetry opentelemetry-collector opentelemetry-go tracing zipkin
Last synced: about 1 month ago
JSON representation
Example of trace instrumentation in Golang applications :bar_chart:
- Host: GitHub
- URL: https://github.com/gsabadini/go-opentelemetry-example
- Owner: GSabadini
- Created: 2022-01-12T02:26:50.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-13T01:40:30.000Z (almost 3 years ago)
- Last Synced: 2024-10-09T20:02:29.013Z (about 1 month ago)
- Topics: distributed-tracing, go, golang, jaeger, open-telemetry, open-telemetry-go, opentelemetry, opentelemetry-collector, opentelemetry-go, tracing, zipkin
- Language: Go
- Homepage:
- Size: 171 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
go-opentelemetry-example
Example of trace instrumentation in Golang applications using the [opentelemetry](https://opentelemetry.io/).
## Requirements/dependencies
- Docker
- Docker-compose
- Golang## Getting Started
- Starting containers
```sh
make up
```- Starting API in port `:8080`
```sh
make start
```- Create traces
```sh
make request
```- Kill containers
```sh
make down
```## Exporters
### Zipkin
- exposed front-end in `http://localhost:9411`
![zipkin](_images/zipkin.png)
### Jaeger
- exposed front-end in `http://localhost:16686/`
![Jeager](_images/jaeger.png)