Skip to content
This repository has been archived by the owner on Dec 11, 2023. It is now read-only.

SonjaChevre/api-observability-opentelemetry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use this version instead: https://github.com/TykTechnologies/demo-api-observability-opentelemetry

API Observability with OpenTelemetry

About

This is a demo project running on Docker, that shows how to configure Tyk Gateway OSS, OpenTelemetry Collector, Jaeger, Prometheus and Grafana OSS to set-up an API observability dashboard for your APIs managed by Tyk.

Deploy and run the demo

  1. Clone this repository:
git clone https://github.com/SonjaChevre/api-observability-opentelemetry.git
  1. Start the services
cd ./api-observability-opentelemetry/
docker compose up -d
  1. Verify that all services are running
  1. Generate traffic

K6 is used to generate traffic to the API endpoints. The load script load.js will run for 15 minutes.

docker compose run  k6 run /scripts/load.js
  1. Check out the dashboard in Grafana

Go to Grafana in your browser (initial user/pwd: admin/admin) and open the dashboard called API Observability.

Tear down

Stop the services

docker compose stop

Remove the services

docker compose down