Skip to content

dash0hq/dash0-examples

Repository files navigation

This repository is courtesy of Dash0

Examples

This repository contains various examples to generate, collect and transmit telemetry, and is typically referenced by Dash0 guides, blog posts and the integration hub.

Available Demos

A comprehensive example demonstrating OpenTelemetry auto-instrumentation for Java applications. This demo includes:

  • Multi-service Java application (Todo API, Validation service, React frontend)
  • Automatic instrumentation using OpenTelemetry Java agent
  • Full observability stack (Jaeger, Prometheus, OpenSearch)
  • Deployment options for both Docker Compose and Kubernetes

Technologies: Java, Spring Boot, React, OpenTelemetry, Docker, Kubernetes

Examples showing how to configure and deploy the OpenTelemetry Collector in various environments:

  • Docker deployment: Run the collector in Docker with sample applications
  • Additional collector configurations and deployment patterns

Technologies: OpenTelemetry Collector, Docker, OTLP

Getting Started

  1. Prerequisites: Ensure you have Docker installed and a Dash0 account
  2. Environment Setup: Copy .env.template to .env and configure your Dash0 credentials
  3. Choose a Demo: Navigate to any demo directory and follow its README instructions
  4. Run the Example: Each demo includes setup scripts for easy deployment

Each example directory contains its own comprehensive README with detailed setup and usage instructions.