{"repo":"heynedim/otelmap","free":true,"listed":false,"github":"https://github.com/heynedim/otelmap","clone":"git clone https://github.com/heynedim/otelmap.git","description":"Open-source service map visualization tool that generates service dependency maps from OpenTelemetry trace data.","language":"Go","stars":29,"topics":["opentelemetry-collector","service-map","tracing"],"license":"MIT","category":"analytics","readme_excerpt":"OTel Map Server OpenTelemetry traces → ClickHouse storage → Service Map API. This project ingests OTLP (HTTP and gRPC) into ClickHouse via the OpenTelemetry Collector, and exposes an API to build a service map and basic SLO-style stats from collected spans. Architecture - NGINX reverse proxy routes traffic: - /api/ → Go API server ( server:8000 ) - /v1/ → OTLP HTTP to collector ( otelcollector:4318 ) - gRPC traffic → OTLP gRPC to collector ( otelcollector:4317 ) - OpenTelemetry Collector writes to ClickHouse tables - Go API reads from ClickHouse and returns a service-map DTO Prerequisites - Docker and Docker Compose Environment variables (.env.production) Create .env.production in the repo root with: Run with Docker Compose Services: - clickhouse:9000 (native), 8123 (HTTP) - otelcollector:4317 (gRPC), 4318 (HTTP), 13133 (health) - server:8000 (internal API) - nginx:80, 443 (reverse proxy) After startup, the endpoints will be available at: - http://localhost/api/v1/ (API endpoints) - http://localhost/v1/traces (OTLP HTTP ingest) - http://localhost:4317 (OTLP gRPC ingest - direct to collector) API Endpoints - GET /api/v1/healthz → health check - GET /api/v1/readyz → readiness check - POST /api/v1/session-token → returns a session token and example ingest config - GET /api/v1/session-events?token= → SSE endpoint for listening to trace events - GET /api/v1/service-map/:session-token?start=RFC3339&end=RFC3339 → get service map Service Map Response - Direct, Jaeger-style service de","default_branch":null,"files":null,"tree":[],"storefront":"/r/heynedim","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/heynedim/otelmap/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}