Search code examples
open-telemetryotel

Can an OpenTelemetry collector use an OpenTelemetry based receiver from another collector?


I have a scenario where there's one host with OpenTelemetry collector (primary) that could potentially be allowed to communicate with multiple other collectors (secondary).

Im able to push (exporter) to other collectors but I was curious if there was a way possible for all secondary collectors to add the primary collector as the receiver and get the data. These secondary ones would then export to other vendors/apps as needed. Since the list of secondary collectors are dynamic, we want to avoid a push and rather they be able to receive the data from the primary collector.

I was able to push OpenTelemetry to other collectors, curious if pull based option is a possibility.


Solution

  • Yes, and it's not only possible but something that we see quite often being used, for example, in Gateway mode. I'm currently working on updating the OpenTelemetry docs with details on it (see preview at https://deploy-preview-2498--opentelemetry.netlify.app/docs/collector/deployment/).

    I was able to push OpenTelemetry to other collectors, curious if pull based option is a possibility.

    No.