From 7bb2d7d59c9fb854c1bbe63d8a9e5b41d1e2a677 Mon Sep 17 00:00:00 2001 From: cthomas Date: Tue, 25 Mar 2025 16:07:15 -0700 Subject: [PATCH] feat: print dashboard link in otel startup (#1406) --- otel/start-otel-collector.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/otel/start-otel-collector.sh b/otel/start-otel-collector.sh index 58d5225d..367098df 100755 --- a/otel/start-otel-collector.sh +++ b/otel/start-otel-collector.sh @@ -16,11 +16,14 @@ fi # Start OpenTelemetry Collector if [ -n "$CLICKHOUSE_ENDPOINT" ] && [ -n "$CLICKHOUSE_PASSWORD" ]; then echo "Starting OpenTelemetry Collector with Clickhouse export..." - CONFIG_FILE="otel-collector-config-clickhouse-dev.yaml" + CONFIG_FILE="otel/otel-collector-config-clickhouse-dev.yaml" else echo "Starting OpenTelemetry Collector with file export only..." - CONFIG_FILE="otel-collector-config-file-dev.yaml" + CONFIG_FILE="otel/otel-collector-config-file-dev.yaml" fi +device_id=$(python3 -c 'import uuid; print(uuid.getnode())') +echo "View traces at https://letta.grafana.net/d/dc738af7-6c30-4b42-aef2-f967d65638af/letta-dev-traces?orgId=1&var-deviceid=$device_id" + # Run collector exec ./bin/otelcol-contrib --config "$CONFIG_FILE"