Production monitoring answers three questions: is the route healthy, is the target refusing this type of traffic, and is the job itself behaving differently than yesterday. Failover only works when those three are separated first.
Signals worth collecting
Start with the outcomes the pipeline already produces. For each target, record attempts, successes, status codes, retries, and latency at the median and the ninety-fifth percentile. A change in the shape of those numbers is more informative than a single average, because a small share of very slow responses can dominate the total runtime without moving the mean much.
Add the fields that describe the route: exit IP, session identifier, and the pool or country requested. These let you attribute a failure to a peer, a session, or a targeting level instead of guessing. The status code guide explains which codes indicate a proxy problem and which come from the destination.
Track bandwidth as well. A job that suddenly transfers more data may be loading heavier page variants, retrying more often, or looping through empty pages. Cost anomalies are often the first visible symptom of a quiet behavioural change.
- Success rate per target, split by status family.
- Latency percentiles for successful responses only.
- Retry count and attempts per successful page.
- Exit IP and session identifier on every attempt.
- Daily transfer volume per target.
Measure with both synthetic and real traffic
A synthetic check sends a small, fixed request through the same route and records the result. It is cheap, runs on a schedule, and catches a route that is down before the next job starts. Its weakness is that a neutral echo endpoint is far more tolerant than the real target, so it cannot judge whether the pool is suitable for a protected site.
Real traffic shows suitability but arrives irregularly. Use both: the synthetic check for availability, and the production logs for quality against the actual destination. When the two disagree, the synthetic check is usually healthy while the target refuses the traffic, which points to targeting, rate, or fingerprint rather than a broken proxy.
Run the synthetic check from the same environment as the job. A probe from an office network says nothing about a worker in a cloud region with a different egress path.
Classify the failure before reacting
A 407 or a connection reset on every target through one endpoint is a proxy or credential fault. A 403 or 429 on one sensitive endpoint while other targets succeed is a target-side refusal. A job that fails only after a parser change is a client fault, even though the error may surface as a timeout.
The quickest classifier is the ladder from the troubleshooting workflow: request the target directly, request a neutral endpoint through the proxy, then request the target through the proxy. The pattern of results identifies the layer. Do this before changing any configuration, because a series of untested changes destroys the ability to tell what fixed the problem.
Record the classification with the incident. It becomes the first line of the runbook for the next occurrence and keeps the team from re-litigating the same diagnosis.
Failover without retry storms
When a request fails for an environmental reason, retrying once through a different peer in the same pool is reasonable. Retrying every failure through the most expensive pool is not; it turns a small fault into a budget event and hides the underlying problem.
Keep failover bounded. A request should have a maximum number of attempts, a maximum number of peers, and a maximum time budget. When the budget is exhausted, fail the item and record why. Unbounded retries make throughput unpredictable and make the health signal noisy.
Do not fail over on policy refusals. A 403 that comes from bot management, an account requirement, or a geographic restriction will follow the request to another peer. The correct response is to re-examine the request pattern, not to send the same request from more addresses.
Separate the health state per pool and per target. A pool can be healthy while a target refuses it, and a target can be healthy while one peer is broken. Combining them into a single status light guarantees that the alert will be wrong for one of the two.
Alerts that people actually trust
Alert on trends with a defined window, not on individual errors. A handful of timeouts in a busy job is normal; a sustained rise across ten minutes is not. Show the same window in the dashboard and in the alert so the chart and the message agree.
Give every alert a first action. A message that says success rate dropped is less useful than one that says which target, which pool, and which classification step to run first. Link the runbook or the relevant guide directly in the alert.
Review the thresholds after every incident. An alert that fires weekly without an action trains people to ignore it, which is worse than no alert at all.
A lightweight starting point
A small team does not need a full observability stack to begin. One scheduled synthetic request per route, production logs with the fields above, and a daily summary per target cover most failures. Add peer-level detail only when the summary shows that a single endpoint is responsible.
Write the checks into the job repository so they evolve with the pipeline. A monitoring script that lives outside version control drifts from the configuration it is supposed to watch.
- Synthetic request per route every few minutes, from the production environment.
- Daily per-target summary with success rate, latency, retries, and transfer.
- A written classification ladder and a named first action for each alert.
- Quarterly review of thresholds and of the peers or pools being monitored.
Peer-level health inside a rotating pool
A rotating pool can look healthy at the aggregate level while a small share of peers fails every request. The bad peers disappear inside the average because most requests succeed, and the cost shows up as retries and latency rather than as a visible outage. To see them, record the exit IP on every attempt and group results by peer.
A peer that fails repeatedly for one target should be treated differently from a peer that fails for every target. The first is often a target-specific block that will lift later; the second is a peer problem. Keep the classification per target so quarantine decisions do not overfit to a single site.
Quarantine with a timeout rather than a permanent ban. Peers rotate in and out of pools, and an address that failed today may be perfectly usable next week. A half-open probe after a cool-down period tells you whether to restore it without sending all production traffic back at once.
Be careful with sticky sessions. If a peer is quarantined while a session is active, the session may be reassigned, which changes the exit IP mid-task. The workflow should tolerate that rare event and record it, as described in the session guide.
- Group failures by exit IP, target, and status family.
- Quarantine per target, not globally, unless the peer fails everywhere.
- Recover peers with a low-volume probe before full reinstatement.
- Record session reassignment when a peer is removed mid-flow.
Cost-aware failover
Failover has a price. Moving traffic from a datacenter pool to residential or mobile can multiply the cost per page, and a silent fallback can consume a monthly budget in a few days. Every fallback should have a cap and a visible share in the dashboard.
Set the fallback policy per endpoint, not per project. An endpoint that rejects hosting ranges belongs on residential from the start; a tolerant endpoint should not drift there because of one bad afternoon. A cap on the share of traffic allowed on the expensive pool turns an invisible leak into a loud alert.
When the cap is reached, fail the item instead of exceeding it. A recorded failure is easier to explain than an unexplained invoice, and it forces the team to decide whether the endpoint mix or the plan needs to change.
Review the fallback share weekly. A ratio that keeps rising usually means the target changed its protection or a pool degraded, not that the job suddenly needs more residential capacity.
A ten-minute incident review
After a failure, write a short record while the evidence is fresh: the window, the classification from the ladder, the affected targets and pools, the first failing request, the configuration diff since the last good run, and the exit IPs involved. This is enough for someone else to understand the event without replaying the whole job.
Keep the record next to the runbook and link it from the alert history. Patterns emerge quickly: the same endpoint after a target redesign, the same pool after a provider change, or the same client after a dependency upgrade.
Do not rewrite the incident into a success story. The value is in the specific observation that changed the diagnosis, not in a polished narrative.
The status code reference and the leak check guide cover the two evidence sets that appear in most reviews: the response family and the routing path. Keeping both in the run record shortens the next investigation considerably.
Key takeaways
- Monitor route availability and target suitability separately.
- Classify each failure before changing configuration or rotating peers.
- Bound failover by attempts, peers, and time to keep retries predictable.
Frequently asked questions
How do I know whether a failure is the proxy or the site?
Run the ladder: direct request from the same machine, neutral endpoint through the proxy, then the target through the proxy. The pattern shows which layer failed. Repeat it before changing any settings.
Should a 403 trigger automatic IP rotation?
Usually not. Many 403 responses come from policy, fingerprint, or account checks that follow the request to another address. Investigate the request pattern first; rotation raises cost without fixing the cause.
How often should synthetic checks run?
A few minutes between checks per route is enough for most pipelines. Production logs remain the primary signal for quality against the real target; synthetic checks primarily prove that the route is reachable.
Need proxies for this workflow?
Graviix provides residential, mobile, datacenter, and static ISP proxies with country and city targeting, rotating or sticky sessions, and a documented HTTP API.










