mirror of
https://github.com/rustfs/rustfs.git
synced 2026-03-17 14:24:08 +00:00
1.6 KiB
1.6 KiB
OpenObserve + OpenTelemetry Collector
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
- URL: http://localhost:5080
- Username:
root@rustfs.com - Password:
rustfs123
🛠️ Configuration
OpenObserve
- Persistence: Data is persisted to a Docker volume.
- Ports:
5080: HTTP API and UI5081: OTLP gRPC
OpenTelemetry Collector
- Receivers: OTLP (gRPC
4317, HTTP4318) - Exporters: Sends data to OpenObserve.
🔗 Integration
Configure your application to send OTLP data to the collector:
- Endpoint:
http://localhost:4318(HTTP) orlocalhost:4317(gRPC)
Example for RustFS:
export RUSTFS_OBS_ENDPOINT=http://localhost:4318
export RUSTFS_OBS_SERVICE_NAME=rustfs-node-1