Back to Uptrace

Uptrace Docker demo

example/docker/README.md

2.0.21.6 KB
Original Source

Uptrace Docker demo

Getting started

This example demonstrates how to quickly start Uptrace using Docker. For full instructions, see the Docker guide. You can also deploy Uptrace using Ansible or Kubernetes.

Step 1. Download the example using Git:

shell
git clone https://github.com/uptrace/uptrace.git
cd uptrace/example/docker

Step 2. Start the services using Docker:

shell
docker compose pull
docker compose up -d

Step 3. Make sure Uptrace is running:

shell
docker compose logs uptrace

Step 4. Open Uptrace UI at http://localhost:14318. To log in, use email [email protected] and password admin.

Uptrace will monitor itself using uptrace-go OpenTelemetry distro. To get some test data, just reload the UI few times. It usually takes about 30 seconds for the data to appear.

To configure OpenTelemetry for your programming language, see documentation.

Alerting

This example uses Mailpit to test email notifications. Open http://localhost:8025 to view available email notifications.

See Alerting and Notifications for more details.

OpenTelemetry Collector

This example also comes with a pre-configured OpenTelemetry Collector to monitor host metrics and PostgreSQL.