When a single Collector pool stops keeping up
A single Collector pool carrying traces, metrics and logs usually shows its limits as dropped data or growing lag, and the fix depends on which signal and which stage is the bottleneck. The OpenTelemetry Collector receives, processes and exports telemetry, and it can run as an agent next to workloads or as a gateway that accepts data from many sources. When all three signals share one deployment, a burst of log volume can starve trace export, a tail-sampling step can hold memory while metrics wait, and a slow back end can back up every queue at once. Scaling is therefore not a single action of adding replicas. It means matching each pipeline's bottleneck to a deployment change, such as splitting signals into their own pools, adding horizontal replicas to stateless receivers, or changing how stateful processors receive their data.
Platform teams usually need this work when they see refused or dropped data during traffic peaks, queue occupancy that does not drain after a peak, collector memory that climbs toward its limit, or scrape targets that are polled late or twice. Confirm first which Collector self-telemetry metrics your distribution exposes and how your current pool reports refused spans, metrics and log records, because those numbers decide which signal to separate. Also confirm which components in your configuration have stability levels that allow production scaling, since each component's README documents its own status.
DeployOpen starts with a measured baseline of the current pool: signal volumes, pipeline layout, queue and memory behavior, and the back ends each signal depends on. From that baseline we write a written scope that covers the target layout, configuration changes, load tests, rollback steps and the retest criteria, then implement and verify it in your infrastructure. The deliverable is a Collector layout where each signal can be sized, monitored and scaled on its own, with the decision record explaining why each pool exists.
How the scaling decision path fits together
The path starts with symptoms that appear on the Collector itself: refused data, growing sending queues, memory pressure and scrape lag. Each symptom points to a first check, such as whether one signal is starving the others or whether a stateless receiver is simply saturated. Only after that check does the decision split into separate signal pools, horizontal scaling of stateless receivers, coordinated scraping, or a routed tier for stateful processing like tail sampling. Check each choice against trust boundaries: agents, gateways and back ends often belong to different owners and credentials.
Symptoms lead to one of four scaling choices, with trust boundaries between agents, gateways and back ends.
Which metrics say it is time to scale
A Collector rarely fails all at once. It starts refusing data, backing up queues or stalling on exports, and each symptom points to a different part of the pipeline. The cards below cover the signals to watch before you add capacity, and the first check for each.
Refused and dropped data
Receivers refusing spans, metrics or logs, and exporters dropping batches after retries, mean data is already being lost. Before scaling, check which component and which signal is affected, and whether the refusals line up with bursts from particular senders. Confirm the exact metric names for your Collector version in its own telemetry output, since names have changed across releases. A single noisy sender is a different problem from a pool that is simply too small.
Collector docsSending queue fill
A sending queue that stays near its capacity means exports are slower than data arrives. A queue that fills only during back-end incidents calls for buffering, not more replicas, so check whether the backlog drains once the back end recovers. If the queue fills under normal load, compare the export rate per instance with the back end's accepted rate before adding instances. The operations topic covers how to read queue metrics in detail.
Memory limiter activity
When the memory_limiter processor starts refusing data, the Collector is protecting itself from running out of memory. Repeated activity under normal traffic suggests the instance has too little memory for its share of load, or that batching is set too large for its limits. Check container memory limits and the processor settings first, because raising limits without understanding the cause can just move the problem. The sizing topic covers thresholds and batch sizes.
CPU saturation
Sustained high CPU on Collector instances, especially in pools that run transform or tail-based processing, shows that the work per instance has outgrown its allocation. Check whether the load is spread evenly across replicas, because one hot instance can saturate while the others sit idle. Heavy OTTL statements are a common cause, so review them before adding replicas. Scaling a pool that is already imbalanced rarely solves the problem.
Scrape duration
For Collectors that run Prometheus-style scrapers, rising scrape duration means targets take longer to answer or the instance is spending too long on collection. Check whether the same targets are scraped by more than one Collector, which wastes capacity and can duplicate series. Check also whether the scrape interval is tighter than the target can serve. Coordinating scrapers across replicas is the main lever here, not raw instance count.
Back-end export latency
Rising export latency can come from the back end, from the network path, or from the Collector's own batching and concurrency settings. Compare export latency across destinations before blaming the Collector, since a slow back end affects every instance equally. If only one instance shows the latency, look for a routing or affinity problem rather than a capacity one. The backends and integrations topic covers the connection settings to check first.
Scaling options by pipeline type
Traces, metrics and logs often have different volume profiles, latency needs and back-end outages. Running them in separate Collector pools lets you size, restart and roll back each signal without affecting the others. A log burst should not delay span export, and a metrics pipeline with heavy processing should not compete for memory with a logs pipeline.
- Isolation of failures: a misconfigured logs pipeline or a slow log back end cannot exhaust the memory or queues that trace export depends on.
- Independent sizing: each pool can have its own replica count, memory limits and sending queue settings, tuned to that signal's measured load.
- Separate release cadence: you can test a configuration change for one signal before rolling it into the others.
- More moving parts: each pool needs its own deployment, monitoring, alerts and credentials, which adds operating effort and cost.
- Routing at the edge: agents or applications must send each signal to the correct endpoint, so routing configuration must be kept consistent.
Before splitting pools, confirm with measured data that one signal is actually causing contention. Pools added without evidence often multiply operating work without reducing risk. Related guidance appears in the sizing and buffering topics.
Receivers and processors that handle each batch independently can scale by adding replicas behind a load balancer. OTLP receivers that accept spans, metrics or logs without holding state between requests are the usual candidates. Adding replicas raises throughput and spreads connections, but only for work that does not depend on seeing all related data in one place.
- Simple horizontal growth: more replicas handle more incoming connections, and a failed replica removes only its share of traffic.
- Connection behavior: long-lived gRPC connections can stay pinned to old replicas after scale-out, so check how clients rebalance before assuming load is spread evenly.
- Stateless limits: processors that aggregate across requests, such as some metric aggregation or tail sampling, do not scale this way without the routing described in the two-tier gateway topic.
- Shared downstream capacity: more replicas can overwhelm the back end or a shared exporter target, so scaling the receiver tier can move the bottleneck.
- Resource settings: memory limits and queue sizes must be set per replica, and total memory across the fleet grows with each replica added.
Confirm the statefulness of each processor in your configuration and the reconnect behavior of your senders. Load tests against a realistic back end are the most reliable way to find the point where scale-out stops helping.
Prometheus-style scraping pulls metrics from a list of targets. If several Collector replicas each scrape the full list, the same series are collected more than once, which inflates volume and can cause duplicate or conflicting samples. Coordinating scrapers means assigning each target to exactly one Collector, either through static splitting, a target allocator, or a single scraping tier that feeds the rest of the pipeline.
- Duplicate prevention: every target should have one owner, so metrics are not counted twice or written with conflicting timestamps.
- Assignment method: static sharding is simple but needs manual updates when targets change, while dynamic assignment adds components that must be deployed and monitored.
- Failover: when a scraper replica fails, its targets must be reassigned, and the gap in data during reassignment should be measured.
- Discovery load: frequent service discovery on large target sets adds load to the Kubernetes API or other discovery sources.
- Ownership clarity: teams should know which Collector owns which target, so troubleshooting missing series is possible.
Confirm how your chosen Collector distribution handles target allocation and which components are stable enough for production use. The status information for each component is documented in its README.
Tail sampling, span-to-metric aggregation and some other processors need every span of a trace, or every point of a series, to reach the same Collector instance. Simply adding replicas breaks this, because spans of one trace can land on different instances and the decision is made on incomplete data. Trace affinity requires a routing tier that sends related data to a consistent destination, usually through a load-balancing exporter with a routing key.
- Routing key choice: the trace ID is the usual key for trace-level decisions, and the key must be the same for every span of the trace.
- Two tiers: a first tier routes data and a second tier performs stateful work, so each tier can scale on its own measurements.
- Resolver changes: when replicas join or leave, the routing ring changes, and in-flight traces can be split across instances for a short period.
- Memory and wait time: stateful processors hold data until a decision is made, so memory use and decision delay grow with traffic and wait settings.
- Failure impact: losing a stateful replica can lose the traces it was holding, so this tier needs careful sizing and a buffering plan.
For the routing design, see the two-tier gateway topic. For durability while a stateful tier restarts or a back end is unavailable, see the topic on preventing data loss and the topic on Kafka buffering. Ask any team you work with to confirm the routing resolver and memory limits in a load test that resembles production.
Configuration options and when each fits
This table compares five ways to scale Collectors: separate signal pools, a shared pool, horizontal replicas behind a load balancer, a scraper leader or target allocation, and a two-tier routed gateway. Read each row against the failure mode you are trying to fix, then confirm the named settings in the README of each component you plan to use. The main takeaway is that the cheapest option is rarely the one that keeps stateful processing correct.
| Option | What it solves | Main trade-off | What to confirm in your environment |
|---|---|---|---|
| Separate pools per signal | Stops a traces burst from starving metrics or logs, and lets each pool be sized and rolled back on its own | More Deployments to run, configure and upgrade, and duplicated shared processors | Separate receiver endpoints per signal, and memory_limiter and queue settings in each pool's config |
| Single shared pool | One deployment and one configuration to operate, with the simplest rollout | A heavy signal can cause refused data or memory pressure for the others | Whether memory_limiter and sending_queue are set per pipeline, and what refused-data metrics show under load |
| Horizontal replicas behind a load balancer | Adds throughput for stateless receivers and processors such as OTLP receivers and batch | Any processor that needs a whole trace or series to stay on one replica will break | Which processors in your pipelines hold state, and that the load balancer uses connection-level distribution that suits your traffic |
| Scraper leader or target allocation | Prevents duplicate scrapes when several replicas would poll the same Prometheus targets | Leader election or allocation adds a moving part, and a failed leader delays scrapes | Whether your receiver supports leader election or target allocation, and the allocator settings in the component README |
| Two-tier routed gateway with load-balancing exporter | Sends all spans of a trace to one second-tier Collector so tail sampling works | Two tiers to size and monitor, and routing changes can move traces during scale events | Routing key and resolver settings in the loadbalancing exporter README, and the second-tier pool size you plan for |
How to scale a Collector pipeline in order
This sequence moves a Collector pipeline from guesswork to measured scaling: it isolates the bottleneck, separates signals into their own pools, and makes each change reversible and verified before the next one starts.
Baseline current pipeline metrics
Before changing anything, record how the existing Collectors behave under normal and peak load. Capture the Collector's own telemetry for each receiver, processor and exporter, including accepted and refused data points or spans, queue size, memory use, CPU use and export failures, and keep the values with the timestamps of your busiest periods. The platform or observability engineer running the pipeline owns this step. It is done when you have a dated snapshot you can compare against after each later change, and the team agrees on which numbers define success.
Identify the bottleneck signal
Compare the baseline across traces, metrics and logs to find which signal and which component is saturated. Look for rising queue occupancy, refused data, memory pressure near configured limits or exporters that fall behind. Often one signal, such as high-volume logs read from files, drives the pressure while the others are idle. Write down the single component and signal you will scale first. This step is complete when the team can state which pipeline is the constraint and what evidence supports that conclusion, so that scaling effort goes where the data shows the limit.
Split pools by signal
Move the saturated signal into its own Collector deployment, with its own receivers, processors and exporters, so that a surge in one signal does not starve the others. Keep the configuration for each pool in version control and give each pool its own resource limits and scaling rules. Confirm that every signal still reaches its back end through exactly one pool, with no pipeline receiving the same data twice. The step is done when a test load on one signal leaves the other pools' queues and error counts unchanged.
Make receivers stateless and replicable
Review each receiver in the scaled pool and confirm that any Collector instance can accept any request without relying on data held by a sibling. Receivers that accept pushed data, such as OTLP, generally fit behind a load balancer, while components that keep per-trace or per-file state need the routing covered in a later step. Place the replicas behind a Kubernetes Service or an equivalent load balancer and run a controlled test that stops one replica. Check that clients retry and that no accepted data is lost. The step is complete when losing a single replica causes no unexplained drops.
Configure scraper coordination
If the pool pulls data from targets, such as Prometheus-style scrape jobs or host and cluster metrics, assign each target to exactly one Collector. Running the same scrape config on several replicas produces duplicate series and inflated load on the targets. Use the coordination method your distribution supports, and confirm the exact option names in the component documentation for your version before you rely on them. Verify the result by comparing series counts per target against the expected number, and check for duplicate timestamps in the back end. The step is done when each target reports from one instance and no duplicate scrapes appear.
Add routing for stateful processors
Processors that need every span of a trace, or every line of a file, on the same instance, such as tail sampling or certain aggregations, cannot be scaled by simply adding replicas. Place a routing tier in front of the stateful pool that sends related data to the same backend instance by a stable key, and confirm the key matches how your telemetry groups. Test with traces that span several services and check that each trace arrives complete at one Collector. The step is complete when broken trace grouping is absent in the back end and the routing tier's own error counters stay flat under load.
Retest under load and compare to baseline
Repeat the load profile you used for the baseline, now against the split and routed topology, and compare the same metrics side by side. Confirm that queue occupancy, refused data, memory use and export errors have moved in the intended direction, and that no new duplicate or missing data appears. Include a burst test that matches your known peaks. Where a result is worse, roll back that single change before investigating further. The step is complete when the team signs off on the comparison against the success criteria set in the baseline step.
Document the change and the rollback path
Write down the final topology, each pool's configuration version, the routing key, the scrape assignment method and the metrics that signal the need to scale again. Record the exact steps to return to the previous single pool, including which configuration revision to restore and how traffic is redirected. Ask the team to rehearse the rollback in a non-production environment before relying on it. The step is done when a colleague who did not make the change can follow the document to reverse it and can identify the metrics that would prompt another scaling review.
Why stateful processing changes the scaling rules
Processors that need every span of a trace in one place cannot simply add replicas behind a load balancer. A round-robin or connection-based balancer spreads spans of the same trace across several Collectors. Tail sampling, which decides whether to keep a trace only after its spans have arrived, then sees fragments of each trace on different instances. Each instance makes a decision on partial data, so traces are kept or dropped incorrectly, and adding a replica can make the result worse rather than better. The same problem appears with any component that aggregates or correlates across a trace or a set of series, such as span-to-metrics derivation or processors that hold state in memory between batches.
Making these components scale means routing data so that all spans of a trace reach the same instance. That requires a first tier that hashes on a stable key, usually the trace ID, a resolver that tells the first tier which second-tier Collectors exist and when that list changes, and a second tier that runs the stateful processing. Each of these pieces has its own failure modes during pod restarts, scale-out events and DNS changes, so the design should be settled before the pool is sized. The two-tier OpenTelemetry Collector gateway with the load-balancing exporter topic covers the routing keys, resolver choices and second-tier pool in detail.
Before you rely on any of these components, confirm the exact behavior and stability level of each one in its README, since stability varies between components in the Collector. Check whether the component supports the routing and resolver approach you plan, what happens to in-memory state when a Collector restarts or is rescaled, and which settings control memory and decision timing. Ask your team to test a scale-in and a scale-out event under synthetic trace load and confirm that split traces stay at a level you can accept before the design goes to production.
Security and operational considerations when scaling
Each new Collector replica is another place where configuration, credentials and telemetry content can leak or be misused. The cards below cover the controls to set before a pool grows, from how configuration is stored to how the Collector watches itself during a rollout.
Store configuration securely
Collector configuration often holds exporter endpoints, tokens and TLS settings, so it should be treated as a secret-bearing artifact. Keep it out of container images and plain-text repositories, and pass sensitive values through the secret mechanism of your orchestrator. When the pool scales, every replica should read the same reviewed configuration from one source, so a change is made once and rolled out with the same review trail. Confirm who can read and modify the configuration in each environment.
Collector security practicesAuthenticate receivers and exporters
A horizontally scaled receiver pool is often exposed to many workloads, so each incoming connection should be checked. Authenticator extensions can validate callers on receivers, for example with OIDC, and attach credentials to outgoing exporter requests, for example with the oauth2client extension. Decide which identity each agent or gateway presents, and make sure the same authentication settings are applied to every replica so none of them accepts unauthenticated traffic.
Collector configuration docsKeep new replicas on localhost by default
Since v0.110.0, server components bind to localhost by default instead of 0.0.0.0. When you add replicas or move a receiver to a new network interface, that default protects the endpoint only if you do not override it. Review every receiver's endpoint setting before exposing a replica through a Service or load balancer, and confirm that only the intended networks can reach the ports. Test the binding from outside the pod or host after each change.
Redact data before it leaves the pool
Scaling multiplies the places where sensitive attributes such as tokens, personal identifiers or query parameters can be exported. Place the redaction processor in the pipeline before the exporter so that removal happens in the Collector rather than in each back end. Test the rules against sample payloads from every signal, including logs and span attributes, because a rule that covers traces may miss a log field. Record which attributes are removed so the rules can be reviewed later.
Redaction guidanceScope scraper credentials to least privilege
Scrapers that pull metrics from databases, Kubernetes APIs or other services need credentials, and a scaled pool can multiply their use. Create a dedicated read-only identity for each scraper target, grant only the endpoints and metrics it needs, and avoid sharing one administrative account across replicas. When scrapers are split across replicas, check that each target is assigned to exactly one scraper so credentials are not used for duplicate requests. Rotate these credentials on a schedule your team can actually follow.
Monitor the Collector during rollouts
A rollout that adds replicas or changes pipelines can drop data or overload a back end before anyone notices. Watch the Collector's own telemetry, including refused and dropped data, exporter failures, queue utilization and restarts, during every change. Compare these signals across old and new replicas, and define in advance the conditions that trigger a rollback. Confirm which internal metrics your Collector version exposes, since the set varies by release and component.
Questions buyers ask before scaling the Collector
How much effort and time does scaling an OpenTelemetry Collector take?
Effort depends on how many signals, pipelines and back ends are involved, not on the Collector version alone. Splitting traces, metrics and logs into separate pools, or moving a stateful processor behind a routing tier, touches configuration, deployment manifests, back-end limits and dashboards at once. The main drivers are the number of pipelines already running, whether the current setup keeps state (such as tail sampling or scrapers), how many environments must be changed in sequence, and how much load testing the team wants before cutover. Ask any provider to break the estimate into design, build, test and rollout phases, and to state which assumptions about traffic and environments the estimate depends on.
What does the work need from our team?
The work needs access and decisions from your side, mostly in three areas. First, cluster or host access: read access to current Collector configuration, deployment definitions, and the environments where the Collectors run, plus the ability to deploy to non-production first. Second, back-end details: the limits, ingest rates, retention settings and authentication method of each destination, because scaling often moves the bottleneck downstream. Third, change windows: agreed times when pools can be restarted or traffic can be rerouted, and a named owner who can approve a rollback. Ask for these requirements in writing before the work starts so that gaps show up early.
Can our in-house platform team scale the Collector without a partner?
Often yes, if the team already runs Kubernetes or VM-based services, understands OTLP and the Collector pipeline model, and has someone who can read Collector telemetry. The harder parts are usually stateful components, where a wrong routing key can split a trace across Collectors and quietly break tail sampling, and back-end capacity planning, which lies outside the Collector itself. Consider whether your team has time to run staged tests and whether it has done a rollout of this kind before. A partner is most useful when the team needs a design review, an independent test plan, or a fixed deliverable with a retest before production traffic moves.
What does a fixed-scope quote for Collector scaling depend on?
A fixed-scope quote follows from a written scope, and the scope is set by a few factors. These include the number of Collector pools and signals in scope, the deployment platform, whether stateful processing and load balancing are part of the change, the number of back ends and their authentication methods, the test environments available, and whether documentation and runbooks are deliverables. Each item changes the amount of design and verification work. Ask the provider to list what is included, what the client provides, what counts as done, and what happens if the agreed inputs change during the work. DeployOpen does not publish a price list, so the quote is always derived from this written scope.
How does scaling change our cost and back-end load?
Scaling adds compute for the Collector pools and can change what the back ends receive. Separating signals into their own pools usually makes each pool easier to size, but it adds replicas, load balancers and monitoring to run. Horizontal scaling of stateless receivers increases the total connections and write rates reaching the back end, so ingestion capacity, storage and query costs may rise even when the Collector itself is cheap to run. Costs that recur include compute, storage, network egress and the ongoing time to operate the pools. One-time costs include design, testing and migration. Ask for a comparison of the current and proposed data flows, with the back-end limits used to check each one.
What metrics show that it is time to scale the Collector?
Look for signs that the Collector is refusing or dropping data, or that its queues are filling faster than they drain. Useful signals include refused-data and dropped-data counts, sending queue size against capacity, exporter failures and retries, memory pressure near the limits set by the memory limiter, CPU saturation on the pool, and rising export latency toward the back end. The Collector publishes internal telemetry you can scrape, so check the documentation for your release to confirm metric names. Trends matter more than single spikes, so review them across a busy period before deciding to scale.
When is it worth bringing in an implementation partner?
Bring in a partner when the scaling change affects production traffic and your team lacks time, experience or an independent check. Typical triggers include planning a two-tier gateway with stateful processing, moving signals into separate pools across several clusters, or needing evidence for an internal or external review of the change. DeployOpen plans, implements, documents and supports self-hosted OpenTelemetry pipelines inside your own infrastructure, and runs security testing on the result. We do not issue audit reports or certifications, so any compliance evidence still goes to your auditors. Start with a written scope so you can compare the proposal with an in-house plan.
What drives the cost of a scaling project
The largest cost in a Collector scaling project is usually discovery, not configuration. Before any pool is split, someone has to inventory every pipeline that sends telemetry through the Collectors: which receivers accept each signal, which processors such as memory_limiter, batch and tail_sampling run, which exporters carry data to which back ends, and which workloads depend on current sender settings. Effort rises with the number of clusters, teams, signals and back ends, and with how much of the current configuration lives in ad hoc files rather than version control. Ask any partner to state which of these inventory steps are in the fixed scope and which are billed separately if the discovery reveals more pipelines than expected.
Configuration work scales with the number of signal-specific pools and with each pipeline that moves. Splitting traces, metrics and logs into separate deployments means separate Helm values or manifests, separate service.pipelines definitions, separate scaling rules and separate dashboards for the Collector itself. Load testing is a distinct cost: it needs a realistic traffic profile, a test back end and enough time to observe otelcol_exporter_queue_size, refused-data counters and memory under bursts. Back-end coordination, such as agreeing rate limits, tenant mapping or index changes with the team that owns the storage, is often the slowest item and depends on people outside the project. Documentation of the new topology and runbooks is part of the same effort, not an afterthought.
Design and rollout are one-time costs, and they are where most of the fixed-scope fee sits. Recurring costs follow the pipelines after go-live: upgrading the Collector distribution, which the project's release notes describe as frequent, and retesting configuration after each change; watching the scaling signals and tuning thresholds; and running periodic capacity reviews as traffic grows. Whether these recur under a retainer or internal ownership is a decision to make before the project starts. DeployOpen does not publish prices. A quote follows from the written scope, so ask for the discovery, configuration, load testing, back-end coordination and documentation items to be priced separately, along with the upgrade and capacity review cadence you expect to run.
How DeployOpen works on this
DeployOpen scopes Scaling the OpenTelemetry Collector as a fixed-scope engagement, starting from your current pipelines, back-end limits and failure history. We build and test the changes in infrastructure you control, then hand over documented configuration, runbooks and a clear view of what to watch.
How we scope
- Inventory of current Collector pools, signals, receivers, processors and exporters, with the deployment pattern each one uses
- Written list of pipelines to split by signal, plus the scrapers and stateful components that must stay on a single instance
- Agreed success conditions, such as refused-data and queue signals to watch, and the load tests that will prove them
How we build
- Configuration changes made in version-controlled files, deployed to a staging environment that mirrors your production topology
- Load and failure tests for each pool, including restarts of a replica and loss of a back-end endpoint
- Tuning of memory limits, queue sizing and routing keys, checked against the component stability levels documented for each version
How we hand over
- Documented Collector configuration, pool layout and the reasoning behind each scaling decision
- Runbooks for adding replicas, draining a pool and rolling back a failed configuration change
- Dashboards and alert rules for the Collector's own metrics, with a review session with your platform and on-call teams
How we support
- Ongoing support, version upgrades and continuous testing are available as retainers after handover
- Retainer scope is agreed in writing, covering which pools, environments and upgrade windows are included
- Quotes follow from the written scope, so ask for the scope items and assumptions behind each line

