Generic forwarding allows asynchronous replication of ingested traces. The distributor writes received spans to both the ingester and defined endpoints, if enabled. This feature works in a “best-effort” manner, meaning that no retries happen if an error occurs during replication.
WarningGeneric forwarding does not work retroactively. Once enabled, the distributor only replicates freshly ingested spans.
Configure generic forwarding
Enabling generic forwarding requires the configuration of the
First, define a list of forwarders in the
distributorsection. Each forwarder must specify a unique
backend, and backend-specific configuration.
Second, reference these forwarders in the
overridessection. This allows for fine-grained control over forwarding and makes it possible to enable this feature globally or on a per-tenant basis.