parent
fc75806cb5
commit
6e4715f003
@ -1,4 +1,13 @@
|
|||||||
setup:
|
setup:
|
||||||
mkdir bin
|
mkdir -p bin
|
||||||
curl -fsSL https://github.com/open-telemetry/opentelemetry-collector/releases/download/cmd%2Fbuilder%2Fv0.84.0/ocb_0.84.0_linux_amd64 -o ./bin/ocb
|
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
|
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
|
||||||
|
Loading…
Reference in new issue