You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
379 B
14 lines
379 B
setup:
|
|
mkdir -p bin
|
|
curl -fsSL https://github.com/open-telemetry/opentelemetry-collector/releases/download/cmd%2Fbuilder%2Fv0.93.0/ocb_0.93.0_linux_amd64 -o ./bin/ocb
|
|
chmod +x ./bin/ocb
|
|
|
|
custom-collector: setup
|
|
./bin/ocb --config builder-config.yaml
|
|
|
|
test:
|
|
go test -v -count=1 ./...
|
|
|
|
run-dev: custom-collector
|
|
./bin/otelcol-dev/otelcol-dev --config=otelcol-dev-config.yaml
|