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"