Skip to content

NelsonBN/observability-journey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo about a journey to Observability

Components

Services

How can use it?

Build Images of Deemo projects

In the root of the project, run the following command:

docker build -t <image-name> -f <dockerfile> .

Api.Users

docker build -t api-users -f ./src/Demo.Api.Users/Dockerfile .

Api.Notifications

docker build -t api-notifications -f ./src/Demo.Api.Notifications/Dockerfile .

Gateway.Email

docker build -t gateway-email -f ./src/Demo.Gateway.Email/Dockerfile .

Gateway.SMS

docker build -t gateway-sms -f ./src/Demo.Gateway.SMS/Dockerfile .

Run project

Only external services

docker compose up mongo postgres redis rabbitmq prometheus tempo pyroscope postgres-exporter grafana pgweb mongo-express redis-commander mailpit

Just external services

docker compose up mongo postgres redis rabbitmq

Minimous external services

docker compose up mongo postgres redis rabbitmq prometheus loki tempo pyroscope otel-collector

Just Observability services

docker compose up prometheus loki tempo pyroscope otel-collector grafana

Full project

docker compose up --build
## or
docker compose up --build mongo postgres redis rabbitmq prometheus loki tempo pyroscope postgres-exporter otel-collector grafana pgweb mongo-express redis-commander mailpit api-users api-notifications gateway-email gateway-sms

Run tests

k6 run ./tests/test.js --vus 15 --duration 120s

About

Demo about a journey to Observability

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •