Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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:

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)