You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 07c579e
Browse filesBrowse the repository at this point in the historyBrowse files
|`attester`| T + slot_duration/3 (~T+4s) |**Medium** — missed attestation reward + inactivity penalty | Most common duty |
52
+
|`attester`| T + slot_duration/3 (~T+4s); **gloas: T+3s**|**Medium** — missed attestation reward + inactivity penalty | Most common duty |
53
53
|`sync_message` / `sync_contribution`| Various |**Low** — small sync committee rewards | Only for validators in sync committee |
54
-
|`aggregator` / `prepare_aggregator`| T + 2*slot_duration/3 (~T+8s) |**None** — no direct economic reward or penalty | Non-economic, deprioritize |
54
+
|`aggregator` / `prepare_aggregator`| T + 2*slot_duration/3 (~T+8s); **gloas: T+6s**|**None** — no direct economic reward or penalty | Non-economic, deprioritize |
55
+
|`payload_attestation` (gloas) | consensus at T+6s (payload due), vote due T+9s |**Low** — PTC membership | New gloas duty; `no_consensus` here is worth a look |
56
+
|`execution_payload_envelope` (gloas) | after a **self-built** proposal; payload must be seen by T+6s |**High** — a late envelope orphans the payload | Absent for builder-bid proposals (the builder reveals) |
57
+
|`proposer_preferences` (gloas) | VC-pushed, epoch before the proposal |**High (indirect)** — if it fails, p2p builder bids are ignored for that slot → self-build | Not scheduled; keyed by proposal slot |
55
58
56
-
**Slot timing**: 12 seconds per slot, 32 slots per epoch (6.4 minutes).
59
+
**Slot timing**: 12 seconds per slot, 32 slots per epoch (6.4 minutes). Gloas moves the intra-slot deadlines (bps of the slot): attestation/sync message 2500 (3s), aggregate/contribution 5000 (6s), payload 5000 (6s), PTC 7500 (9s). Charon picks them up from the BN spec per fork; check `app_fork_current_activation_epoch` to know which regime a cluster is in.
57
60
58
61
## Environment
59
62
@@ -223,13 +226,14 @@ If the issue is intermittent or slot-specific, use `duty_analysis.py` for a spec
223
226
224
227
### Consensus
225
228
-`core_consensus_timeout_total{duty="...",timer="..."}` — Consensus failures (the duty timed out entirely)
226
-
-`core_consensus_decided_rounds{duty="..."}` — Rounds needed to decide (1 is ideal)
227
-
-`core_consensus_duration_seconds{duty="..."}` — Time to reach consensus
229
+
-`core_consensus_decided_rounds{duty="..."}` — Rounds needed to decide (1 is ideal). A **last-value gauge**, not a distribution: use `avg_over_time(...)` for a rate-ish view and Loki for per-slot rounds.
230
+
-`core_consensus_duration_seconds{duty="..."}` — Time from **this node's own value being ready** (fetch done) to decided. Excludes the randao wait and the BN fetch, is not slot-relative, and lands in the first bucket (it is negative) when the cluster decided before this node's fetch returned. For slot-relative decision times use Loki (`QBFT consensus decided` minus slot start).
228
231
-`core_consensus_insufficient_round_changes_total{protocol,duty,timer,outcome}` — Instances with too few round-change messages, by outcome (decided/timeout). Elevated values point at asymmetric connectivity or slow minority peers.
229
-
- Timer type `eager_dlinear` = EagerDoubleLinear (default). Round N budget = N seconds from duty start time.
232
+
- Timer type `eager_dlinear` = EagerDoubleLinear (default). Round N budget = N seconds from duty start time (proposer: +500ms on round 1 via `proposal_timeout`, so 1.5s, 2.5s, 3.5s).
233
+
-`p2p_received_message_size_bytes{protocol="/charon/consensus/qbft/2.0.0"}` — consensus value size. QBFT attaches the full value to pre-prepare, prepare, commit and round-change messages, so multi-MB values (unblinded / gloas self-built proposals carrying the payload + blobs) slow every message, not just the pre-prepare.
230
234
231
235
### Beacon Node Performance & Identity
232
-
-`app_eth2_latency_seconds{endpoint="..."}` — BN API latency. Key: `attestation_data` (should be <50ms for Lighthouse, ~170ms for Teku)
236
+
-`app_eth2_latency_seconds{endpoint="..."}` — BN API latency. Key: `attestation_data` (should be <50ms for Lighthouse, ~170ms for Teku); proposals: `proposal` (pre-gloas, includes the mev-boost ~950ms auction wait) / `epbs_proposal` (gloas v4), `submit_execution_payload_envelope` (gloas; slow = EL import)
233
237
-`app_beacon_node_peers` — BN's own peer count. <50 is concerning. **Gotcha**: with multiple configured BNs this gauge can flip between instances; do not correlate its time series across charon peers to detect shared BNs (peer-capped BNs also sit at identical values by coincidence).
234
238
-`app_beacon_node_version{version,beacon_id}` — BN software version **and `beacon_id`, the BN's libp2p peer ID — the definitive per-instance identity**. Multiple series per `cluster_peer` = that node has multiple BN endpoints configured.
235
239
- To answer "do these charon nodes share beacon nodes?": `group by (beacon_id, cluster_peer, version) (present_over_time(app_beacon_node_version{cluster_name="X"}[24h]))`, then invert to beacon_id → peers. A beacon_id under >1 cluster_peer is a genuinely shared instance. Identical `version` strings only prove same *build*, never same instance.
@@ -270,15 +274,17 @@ If the issue is intermittent or slot-specific, use `duty_analysis.py` for a spec
270
274
271
275
### Broadcast
272
276
-`core_bcast_broadcast_total{duty="..."}` — Successful broadcasts per duty type.
273
-
-`core_bcast_broadcast_delay_seconds{duty="..."}` — Delay from slot start to broadcast.
277
+
-`core_bcast_broadcast_delay_seconds{duty="..."}` — Delay from **slot start + the duty's offset**to broadcast: proposer from slot start, attester from the attestation due (4s, gloas 3s), payload attestation / envelope from 6s (early broadcasts land in the first bucket).
**Timestamp handling**: Always parse the embedded `ts=` field (e.g., `ts=2026-03-09T20:53:59.123Z`). Loki receipt timestamps can skew 1-2 seconds due to batching. The `ts=` field is the application-level timestamp.
280
284
281
-
**Log presence detection**: Use the Loki `/series` endpoint with `match[]={cluster_name="X"}` to check which peers send logs. Do NOT rely on `query_range` with `limit=1`.
285
+
**Log presence detection**: Use the Loki `/series` endpoint with `match[]={cluster_name="X"}` to check which peers send logs (`lib.grafana.loki_series` returns a set of `(cluster_name, cluster_peer)`). Do NOT rely on `query_range` with `limit=1`.
286
+
287
+
**Retention and limits**: Loki retention is short (observed ~2–4 days in Oct 2026) — per-slot reconstruction older than that is metrics-only. `query_range` caps at the requested `limit` (5000 is a safe page); pull long ranges in ≤1h chunks. Grafana returns **HTTP 429** under parallel load — keep ≤3 concurrent Loki queries and retry with backoff.
282
288
283
289
### Key Search Patterns
284
290
| Event | LogQL filter |
@@ -294,6 +300,12 @@ If the issue is intermittent or slot-specific, use `duty_analysis.py` for a spec
| Block signed by VC |`\|= "Beacon block proposal received from validator client"` (blinded: `"Blinded beacon block received from validator client"`) |
| Envelope (gloas self-build) |`\|= "Execution payload envelope received from validator client"`, `"Successfully submitted execution payload envelope to beacon node"`|
307
+
308
+
**Proposal timeline recipe** (debug logs): most lines carry `duty=<slot>/<type>`, but `QBFT consensus decided` logs `duty=proposer slot=<slot>` — a `\|~ "/proposer "` filter silently drops it, so query it separately. The proposal fetch is **gated on RANDAO aggregation** (`duty=<slot>/randao` aggregated) — the gap between slot start and fetch start is the VC randao call + parsig exchange. The decided leader is `leader_index` into the `peers="[0:name ...]"` list on `QBFT consensus instance starting`. A slot is a gloas self-build iff an `execution_payload_envelope` duty exists for it.
297
309
298
310
## Known Issues & Client Characteristics
299
311
@@ -311,7 +323,8 @@ If the issue is intermittent or slot-specific, use `duty_analysis.py` for a spec
311
323
- Timer uses **absolute deadlines** based on slot start time
312
324
- Round N has N seconds from duty start time
313
325
- When leader's pre-prepare is received, timer doubles (gives 2N seconds total)
- Proposer instances start at slot start with round 1 = 1.5s; the leader's value only exists after randao aggregation + BN fetch, so a slow fetch (e.g. BN epoch processing at the first slot of an epoch) shows up as `no pre-prepare, missing leader=[i]` round changes
315
328
- If all peers have fast BNs and good P2P, consensus decides in round 1 within ~100ms
0 commit comments