Files
rustfs/.docker/openobserve-otel/README.md
2026-02-27 01:21:12 +08:00

1.6 KiB

OpenObserve + OpenTelemetry Collector

OpenObserve OpenTelemetry

English | 中文

This directory contains the configuration for an alternative observability stack using OpenObserve.

⚠️ Note

For the recommended observability stack (Prometheus, Grafana, Tempo, Loki), please see ../observability/.

🌟 Overview

OpenObserve is a lightweight, all-in-one observability platform that handles logs, metrics, and traces in a single binary. This setup is ideal for:

  • Resource-constrained environments.
  • Quick setup and testing.
  • Users who prefer a unified UI.

🚀 Quick Start

1. Start Services

cd .docker/openobserve-otel
docker compose up -d

2. Access Dashboard

🛠️ Configuration

OpenObserve

  • Persistence: Data is persisted to a Docker volume.
  • Ports:
    • 5080: HTTP API and UI
    • 5081: OTLP gRPC

OpenTelemetry Collector

  • Receivers: OTLP (gRPC 4317, HTTP 4318)
  • Exporters: Sends data to OpenObserve.

🔗 Integration

Configure your application to send OTLP data to the collector:

  • Endpoint: http://localhost:4318 (HTTP) or localhost:4317 (gRPC)

Example for RustFS:

export RUSTFS_OBS_ENDPOINT=http://localhost:4318
export RUSTFS_OBS_SERVICE_NAME=rustfs-node-1