Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.32 KB

File metadata and controls

38 lines (28 loc) · 1.32 KB

OpenTelemetry Protocol with Apache Arrow examples

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/otelarrowcol

and if you used the go install method,

COLLECTOR=${GOPATH}/bin/otelarrowcol