Examples demonstrating how to configure and test an OpenTelemetry Collector with OpenTelemetry Protocol with Apache Arrow components.
To run any of the following examples, first build a collector using one of the methods document in BUILDING.
bridge: A compression bridge between "edge" (gateway) and "saas" (reverse gateway) collectors.metadata-bridge: A compression bridge between "edge" (gateway) and "saas" (reverse gateway) collectors with metadata support, allowing request headers through.recorder: A collector with support for recording data files for diagnostic and benchmark purposes.shutdown: Sets up two OTAP bridges with different stream lifetimes to exercise gRPC stream failure modes.
For each example directory, change your the working directory to the example.
Set a COLLECTOR in your shell according to the build method used.
If you used docker,
COLLECTOR=`docker run -v `pwd`:/config -w /config otelarrowcol`if you used an installed Golang toolchain and local sources,
COLLECTOR=../../../bin/otelarrowcoland if you used the go install method,
COLLECTOR=${GOPATH}/bin/otelarrowcol