Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/robjsliwa/opentel-test


https://github.com/robjsliwa/opentel-test

go node opentelemetry rust

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Introduction

This repo is a simple project to test OpenTelemetry SDKs across languages and transports for tracing and metrics. Since this is a test the number of servers is a lot more than it would ever be needed to generate sidekick nicknames.

There are two servers:

- SidekicknameServer - is a simple Nodejs webserver that listens to GET REST API call on /name and returns names of sidekicks.

- nameserver - is Rust based server that listens to GRPC connection for a request for the nickname and then it calls SidekicknameServer on http://localhost:8000/name.

Client - is Go based client that call name server via GRPC to get sideckick name.

Once you call using client you can open Jaeger UI on http://localhost:16686/ and you should be able to see traces and spans as shown below.

![traces](https://github.com/robjsliwa/opentel-test/blob/main/docs/all_traces.png)

![spans](https://github.com/robjsliwa/opentel-test/blob/main/docs/spans.png)

# Build

To setup servers:

- docker-compose -f docker-compose.dev.yml up -d

To build and run client:

- cd client
- go build
- ./client