Skip to content

This is the demo project completely depicting the Java telemetry systems

Notifications You must be signed in to change notification settings

My-Java-Repos/Java-Telemetry

Repository files navigation

Project Demonstrating Observability For Java Spring Applications

This project demonstrates Observability using:

And basically integrates the following

Running

Execute the following on root folder

mvn clean package docker:build

Images

docker image ls

And then either docker compose or docker stack

Docker Compose

docker-compose up

Docker Stack

docker swarm init
docker stack deploy --compose-file docker-compose.yaml trace
docker stack services trace
docker stack rm trace

Variations

There are two variations basic and complex, both version have support for 0.15.0, 0.16.0 and 0.17.0 in its own branches.

Basic

Multiple micro-services with db and rest interactions

Complex

Multiple micro-services with db, MQ (Rabbit), redis and rest interactions

Tracing

Access the endpoint

View the log and trace in Grafana

Get the trace information Using Jaeger as well

Basic Trace

Complex Trace

Prometheus Metrics

View the metrics in prometheus

You can view it in Grafana as well

Connecting To PostgreSQL DB

Connect