Skip to content

brunobat/quarkus-observability-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quarkus-observability-demo

This is a collection of small project demonstrating Observability features on quarkus.

The projects based on the quarkus-quickstarts with a set of REST endpoints, using hibernate, panache and a Postgres database. All use OpenTelemetry for tracing and Micrometer for metrics.

The reference project is quarkus-observability-demo-resteasy. All others have small variations.

Each project has a specific readme with instructions. Infraestructure required by the projects is deployed with Docker Compose and for the quarkus-observability-demo-full project, with Openshift.

Working projects:

Simple Rest. The simplest project. Includes:

  • Resteasy
  • OpenAPI
  • Hibernate
  • Postgres
  • OpenTelemetry

2 services communication with JMS messages:

  • Legume Service
  • Superhero Service

The OpenTelemetry context is propagated with the messages. Includes:

  • Resteasy
  • OpenAPI
  • Hibernate
  • Postgres
  • OpenTelemetry
  • Artemis ActiveMQ

OTel Traces and Micrometer metrics will be sent using the OTLP protocol to the OpenTelemetry Collector. Includes:

  • Resteasy
  • OpenAPI
  • Hibernate
  • Postgres
  • OpenTelemetry
  • Micrometer

To show how to migrate from MicroProfile OpenTracing to OpenTelemetry.

Includes a step-by-step instructions.

Full observability. Traces, metrics and logs.

2 services communication with REST:

  • Legume Service
  • Superhero Service

OTel Traces and Micrometer metrics will be sent using the OTLP protocol to the OpenTelemetry Collector plus logs in json format. Includes:

  • Resteasy
  • OpenAPI
  • Hibernate
  • Postgres
  • OpenTelemetry
  • Micrometer
  • Json logs

Main is compatible with Quarkus 3. Branch 2.x is compatible with Quarkus 2.