The OpenTelemetry Collector is very versatile and can be used in different use cases. By being very lightweight, it can be placed with minimal overhead close to your workloads in “agent” mode (sidecar or daemon set). Given that collectors can be chained together, it is also common to have a layer of central collectors doing different sorts of data processing and validation. When chaining OpenTelemetry Collectors together, we recommend setting up TLS between them. We also recommend using the OTLP receivers and exporters on the communication, avoiding data translation costs, given that the internal data model used by the OpenTelemetry Collector is backed by OTLP.
We assembled the following examples to serve as inspiration to you.