Skip to content

The only tool you need to know what is happening and how to fix it.

392 B
Raw Blame
#!/usr/bin/env bash
set -euo pipefail

cd "$(dirname "$0")"

source .env

export GRAFANA_OTLP_BASIC="$(printf '%s:%s' "$GRAFANA_OTLP_INSTANCE_ID" "$GRAFANA_CLOUD_TOKEN" | base64)"

if [ ! -x build/otelcol-symbolicator ]; then
  echo "build/otelcol-symbolicator not found, run ./bin/builder --config manifest.yaml first" >&2
  exit 1
fi

exec ./build/otelcol-symbolicator --config config.yaml