Skip to content

lornest/opentelemetry-demo

Repository files navigation

OpenTelemetry Demo Project

This repo contains a simple microservice based application to demonstrate using OpenTelemetry.

Local Setup

There is a Makefile included in the root of the project. If you use Make you can run the project with:

make up_build

This will build all necessary Docker images and run Docker compose. Alternatively, you can run the Docker command directly:

docker-compose up --build -d

Usage

The UI has not been built yet. At the moment, you can query the /orders API directly on the endpoint http://localhost:5002/api/orders.

Make a POST request with the following body:

{ 
	"userId": 1
}

You'll see a request of varying latency and also varying success. Head over to Grafana and click Run Query to see the trace.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published