{"repo":"lewapek/observability-demo-apps","free":true,"listed":false,"github":"https://github.com/lewapek/observability-demo-apps","clone":"git clone https://github.com/lewapek/observability-demo-apps.git","description":"(4 scala apps + postgres + jaeger + prometheus + kafka) used to demonstrate distributed tracing with OpenTelemetry with some metrics scraped by Prometheus server","language":"Scala","stars":11,"topics":["jaeger","metrics","observability","opentelemetry","prometheus","scala","scala3","tracing","zio","zio2"],"license":null,"category":"analytics","readme_excerpt":"Observability demo apps Applications to demonstrate distributed tracing with OpenTelemetry + metrics scraped by Prometheus server. I use these apps during various workshop sessions I conduct. They also run on Kubernetes with multiple replicas/versions and advanced routing (service mesh included). However, what you find below should be sufficient to run the whole stack locally with a single docker-compose command. Quickstart You just need docker If you come here from Scala world Then below you may be interested in the following: - the entire codebase is written in Scala 3 and ZIO 2 , - app exposes metrics for Prometheus server, - and send traces using open telemetry standard to Jaeger , - actually there are 3 apps there - however all of quite similar - module common - common functionalities - other modules ( product , order , view , consumer ) represent 4 apps For simplicity each application specific code is placed inside module with common code in common module. Also for simplicity each app uses the same postgres db (however different tables inside, normally that should be separate db). Tracing This app uses zio-opentelmetry to send spans using newest OpenTelemetry standard. Apps Product - manages products - product name + fun facts Order - Order date + product ids (only) + order remarks View - combine order and products together to produce full order view - also responsible for initial load with random data Consumer - consumes product name from Kafka topic - updates fun fact","default_branch":null,"files":null,"tree":[],"storefront":"/r/lewapek","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lewapek/observability-demo-apps/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}