feat: add alloy

This commit is contained in:
Sean Robinson 2026-06-16 10:06:08 -04:00
parent 8f8827aba1
commit dbff6e4793
4 changed files with 185 additions and 0 deletions

33
docker/alloy/.env.example Normal file
View file

@ -0,0 +1,33 @@
# =============================================================================
# Grafana Alloy — Centralized OpenTelemetry Pipeline
# =============================================================================
# Domain target: https://alloy.ld50.xyz
# Docs: https://grafana.com/docs/alloy/latest/
# Image: grafana/alloy
# =============================================================================
# -- Image Tag -----------------------------------------------------------------
# Use a stable version tag from https://github.com/grafana/alloy/releases
ALLOY_VERSION=v1.17.0
# -- Exposed Ports -------------------------------------------------------------
# Alloy UI / debug / health endpoint
EXPOSE_ALLOY_UI_PORT=12345
# OTLP gRPC receiver (used by instrumented apps/services writing OTLP gRPC)
EXPOSE_OTLP_GRPC_PORT=4317
# OTLP HTTP receiver (used by instrumented apps/services writing OTLP HTTP)
EXPOSE_OTLP_HTTP_PORT=4318
# -- Forwarding Target ---------------------------------------------------------
# Where Alloy forwards all received telemetry.
# Defaults to LGTM's OTLP HTTP endpoint on the shared pipeline network.
ALLOY_OTLP_FORWARD_ENDPOINT=http://lgtm:4318
# -- Log Level -----------------------------------------------------------------
# Alloy log level: debug, info, warn, error
ALLOY_LOG_LEVEL=info
# -- UI Basic Auth (optional) --------------------------------------------------
# Leave ALLOY_UI_PASSWORD empty to disable authentication.
ALLOY_UI_USERNAME=admin
ALLOY_UI_PASSWORD=