Operate and diagnose Edge
Run these checks on the host where you installed Edge or opened the Kubernetes port-forward. The examples use HTTP on 127.0.0.1:8089 and gRPC on 127.0.0.1:8090. Install Edge in the sandbox
Check the first start
Section titled “Check the first start”curl -i http://127.0.0.1:8089/healthzcurl -i http://127.0.0.1:8089/local/v1/readycurl -i http://127.0.0.1:8089/local/v1/status| Check | Expected result |
|---|---|
| Process health | /healthz returns HTTP 200 with Healthy while the process runs. |
| Initial readiness | /local/v1/ready returns HTTP 503 with problem code edge-not-ready during initial load. It returns HTTP 200 with Healthy after the load, including when data later degrades. |
| Data health | /local/v1/status returns HTTP 200 throughout startup and normal operation. Wait for status: "Ready" and verify edgeVersion: "1.1.0" for this example. If status is Degraded, check reason. |
After /local/v1/ready returns HTTP 200, check the event list.
curl -i 'http://127.0.0.1:8089/local/v1/events?limit=5'Expect HTTP 200 and an items list. When fixtures are expected, look for events in the provisioned sports and phases. If the list stays empty, compare your binding keys with the provisioned values and check data health.
To check gRPC delivery, use grpcurl and the proto from this release. Look for "snapshotEnd" in the stream, then stop the stream with Ctrl+C. A call before initial load completes returns UNAVAILABLE. Edge 1.1.0 proto
curl -fsSLO https://releases.betfeedpro.com/1.1.0/feed_edge.protogrpcurl -plaintext -import-path . -proto feed_edge.proto -max-time 60 -d '{}' \ 127.0.0.1:8090 feedhub.edge.v1.FeedEdge/SubscribeDiagnose degraded data
Section titled “Diagnose degraded data”Use REST status or gRPC StatusChanged to monitor feed health. Once initial load completes, Edge can still serve its local state while it catches up. Consumers must suspend all markets while data is degraded, then apply normal event, market and selection suspension rules once Edge reports Ready. Treat an unknown data status as degraded. See “The application’s rules” in the Edge 1.1.0 consumer guide.
| REST reason | What to check |
|---|---|
Starting |
Wait for the initial load and about 30 seconds of healthy feed delivery. If readiness stays at HTTP 503, check bootstrap warnings, the instance name and the path to the provisioned broker. |
Liveness |
FeedHub reported stale data or its liveness check timed out. Check the broker path and contact FeedHub operations if it persists. |
Arrival |
Changes have stopped reaching Edge while FeedHub reports its feed is being polled. Check your bindings. If the sandbox upgraded recently, check whether you need a newer Edge to read its feed format. |
QueueLag |
Edge is working through delayed deliveries. If lag persists, check CPU saturation and network performance to the broker. |
Diagnose startup failures
Section titled “Diagnose startup failures”For Compose, run these commands from the installation directory.
docker compose -f docker-compose.yml ps -adocker compose -f docker-compose.yml logs --tail 100 feedhub-edgeFor the Helm example, inspect the release’s pods and their logs. For a restarting pod, use kubectl logs --previous on that pod.
kubectl -n feedhub-sandbox get pods -l app.kubernetes.io/instance=feedhub-edgekubectl -n feedhub-sandbox logs -l app.kubernetes.io/instance=feedhub-edge --tail=100| Symptom | What to check |
|---|---|
| Edge exits with code 1 or the pod repeatedly restarts | Read the error before the exit. Correct any named setting. For credential refusal, compare the broker, instance, username and password with the sandbox handoff. For a disabled image version, install an allowed release. |
| Broker connection or TLS errors | Check DNS, outbound TCP, the supplied AMQPS port, RabbitMq:Tls=true and the broker hostname in the certificate. Edge checks the chain against its trust store. |
| Replica access refused or broker connection limit reached | Check that each replica index is used once and the count is approved. Stop duplicate processes and allow time for stale connections to close. Ask FeedHub operations to confirm the replica and connection limits if the problem persists. |
Monitor each replica
Section titled “Monitor each replica”Scrape Prometheus metrics from GET /metrics on the HTTP listener. Metrics are available during initial load. The Helm chart adds scrape annotations to the pods. Use the following signals with data status and logs.
feedhub_edge_status_degradedshows the active degraded reason. Alert when degradation persists beyond the normal startup or recovery window.feedhub_edge_bootstrap_failures_totalcounts failed initial-load attempts. A rising count withStartingpoints to bootstrap requests that Edge is retrying.feedhub_edge_message_age_secondsshows delivery age.feedhub_edge_state_events,feedhub_edge_state_marketsandfeedhub_edge_subscribersshow the replica’s current state size and stream count.
To send metrics, traces and logs to an OTLP gRPC collector, set FEEDHUB_EDGE_Observability__OtlpEndpoint in Compose or observability.otlpEndpoint in Helm. Keep probes and telemetry reachable only on your private network.