~ knotless Search/
↑↓ move↵ open⇧↵ all results

zat.dev/zlay

atproto relay in zig · mirror of https://tangled.org/zat.dev/zlay

0
0
434 lines · 38.2 KB Raw History
[
  {
    "engine": "zkv",
    "table_encoding": "grouped",
    "cpus": 1,
    "index_snapshot": {
      "files": 42,
      "bytes": 1787492,
      "sst": {
        "legacy": 0,
        "grouped": 5,
        "unknown": 0
      },
      "sstBytes": 1779519
    },
    "reference_collector_errors": [],
    "app": "zkv-live-732c079c92",
    "cpu_kind": "performance",
    "memory_mib": 2048,
    "cleanup_verified": true,
    "summary": {
      "consumptionSeconds": 120.001091494,
      "unexpectedClose": null,
      "adaptive": false,
      "steadyCandidate": null,
      "steadyQualified": null,
      "consumerStarted": null,
      "sequenceGaps": 0,
      "membershipChecks": [],
      "seconds": 120.18229405099999,
      "stopped": "duration",
      "opened": true,
      "messages": 30086,
      "bytes": 159665561,
      "counts": {
        "#commit": 29845,
        "#account": 110,
        "#identity": 103,
        "#sync": 28
      },
      "malformed": 0,
      "sequenceErrors": 0,
      "lastSeq": 30086,
      "source_event_age_ms": {
        "count": 29845,
        "p50": 41548,
        "p95": 71349,
        "max": 28707935692
      },
      "replayResponse": {
        "head": {
          "op": -1
        },
        "body": {
          "error": "ReplayDisabled",
          "message": "This relay serves live events only"
        }
      },
      "eventFiles": [
        {
          "name": "evts-1",
          "bytes": 0
        }
      ],
      "eventHistoryBytes": 0
    },
    "eval": [
      {
        "host": "bsky.network",
        "events": 62994,
        "unique_dids": 22224,
        "connected": 1,
        "overlap": "[27,7599,1062,13536]"
      },
      {
        "host": "relay.waow.tech",
        "events": 62460,
        "unique_dids": 22077,
        "connected": 1,
        "overlap": "[9,7596,936,13536]"
      },
      {
        "host": "zkv-live-63fc9c4c72.fly.dev",
        "events": 43067,
        "unique_dids": 16608,
        "connected": 1,
        "overlap": "[156,1854,1062,13536]"
      },
      {
        "host": "zkv-live-732c079c92.fly.dev",
        "events": 38870,
        "unique_dids": 15598,
        "connected": 1,
        "overlap": "[0,1849,213,13536]"
      }
    ],
    "coverage": {
      "reference_agreement_dids": 22038,
      "pilot_dids_in_reference_agreement": 13565,
      "reference_agreement_coverage": 0.6155277248389146
    },
    "transport": {
      "window_seconds": 120.00034189,
      "minimum_connected_fraction": 0.99,
      "sources": [
        {
          "host": "bsky.network",
          "connected_ns": 19241472629,
          "ended_ns": 139131741357,
          "stop": "shutdown",
          "error_name": null,
          "connected_fraction": 0.9985057905071274,
          "valid_window": true
        },
        {
          "host": "relay.waow.tech",
          "connected_ns": 19594045123,
          "ended_ns": 139077322021,
          "stop": "shutdown",
          "error_name": null,
          "connected_fraction": 0.9955676947613403,
          "valid_window": true
        },
        {
          "host": "zkv-live-63fc9c4c72.fly.dev",
          "connected_ns": 19148799792,
          "ended_ns": 139232352981,
          "stop": "shutdown",
          "error_name": null,
          "connected_fraction": 0.9992780619485283,
          "valid_window": true
        },
        {
          "host": "zkv-live-732c079c92.fly.dev",
          "connected_ns": 19285610596,
          "ended_ns": 139165890835,
          "stop": "shutdown",
          "error_name": null,
          "connected_fraction": 0.9981379751633973,
          "valid_window": true
        }
      ],
      "valid_window": true
    },
    "stages": {
      "frame": {
        "count": 30336.0,
        "worker_seconds": 1832.292247599,
        "mean_ms": 60.399929047962814,
        "max_ms": 20576.47198
      },
      "validate": {
        "count": 29581.0,
        "worker_seconds": 9.138535746,
        "mean_ms": 0.30893261708529124,
        "max_ms": 12.434256
      },
      "index": {
        "count": 29486.0,
        "worker_seconds": 115.037992111,
        "mean_ms": 3.9014444858916093,
        "max_ms": 561.198537
      },
      "post_index": {
        "count": 29726.0,
        "worker_seconds": 41.587637416,
        "mean_ms": 1.3990324098768754,
        "max_ms": 421.629412
      }
    },
    "authority_worker_seconds": 1493.419198,
    "authority": {
      "checks": 13622.0,
      "network_checks": 13482.0,
      "network_seconds": 452.896408,
      "pool_wait_seconds": 995.364463,
      "cached_rejections": 140.0,
      "elapsed_seconds": 119.0693769,
      "mean_network_concurrency": 3.8036346522612905,
      "mean_workers_waiting_for_slot": 8.359533651007121
    },
    "stage_frame_worker_seconds": 1832.292247599,
    "index_worker_share": 0.06278364832997768,
    "authority_worker_share": 0.8150551310561661,
    "metrics_timeouts": 0,
    "minute_points": [
      {
        "seconds": 60.030086421,
        "events_per_second": 170.6017564533854,
        "relay_cpu_cores": 0.5620077395422101,
        "rss_mib": 754.65625,
        "queued_mib": 79.46737384796143,
        "machine_busy_cores": 0.911517797179315,
        "steal_pct": 0.251846877098724,
        "iowait_pct": 8.596373404969778,
        "authority_network_concurrency": 3.643981704818595,
        "authority_wait_workers": 7.759667035790479,
        "index_mean_ms": 6.117241966581482
      },
      {
        "seconds": 119.08249624599999,
        "events_per_second": 330.04580266509055,
        "relay_cpu_cores": 0.4917665525599912,
        "rss_mib": 786.55859375,
        "queued_mib": 84.00878429412842,
        "machine_busy_cores": 0.8945386064030132,
        "steal_pct": 0.22256462934429036,
        "iowait_pct": 10.323574730354391,
        "authority_network_concurrency": 3.9658953579376646,
        "authority_wait_workers": 8.969198438634592,
        "index_mean_ms": 2.734112072442005
      }
    ],
    "window_complete": true,
    "tail_queue_max_mib": 87.23736095428467,
    "last_metrics": "# TYPE relay_build_info gauge\n# HELP relay_build_info build provenance\nrelay_build_info{git_sha=\"a39f104\",optimize=\"safe\"} 1\n# TYPE relay_frames_received_total counter\nrelay_frames_received_total 46717\n\n# TYPE relay_frames_broadcast_total counter\nrelay_frames_broadcast_total 56460\n\n# TYPE relay_consumers_active gauge\nrelay_consumers_active 2\n\n# TYPE relay_validation_total counter\nrelay_validation_total{result=\"validated\"} 15996\nrelay_validation_total{result=\"failed\"} 607\nrelay_validation_total{result=\"skipped\"} 13523\n\n# TYPE relay_rate_limited_total counter\nrelay_rate_limited_total 124\n\n# TYPE relay_rate_limited_by_tier counter\nrelay_rate_limited_by_tier{tier=\"sec\"} 124\nrelay_rate_limited_by_tier{tier=\"hour\"} 0\nrelay_rate_limited_by_tier{tier=\"day\"} 0\n\n# TYPE relay_pool_backpressure_total counter\n# HELP relay_pool_backpressure_total times pool submit blocked on full queue\nrelay_pool_backpressure_total 30\n\n# TYPE relay_decode_errors_total counter\nrelay_decode_errors_total 0\n\n# TYPE relay_cache_total counter\nrelay_cache_total{result=\"hit\"} 16088\nrelay_cache_total{result=\"miss\"} 13520\n\n# TYPE relay_slow_consumers_total counter\nrelay_slow_consumers_total 0\n\n# TYPE relay_connected_inbound gauge\nrelay_connected_inbound 2012\n\n# TYPE relay_upstream_seq gauge\nrelay_upstream_seq 29726\n\n# TYPE relay_seq gauge\nrelay_seq 29726\n\n# TYPE relay_uptime_seconds gauge\nrelay_uptime_seconds 120\n\n# TYPE relay_validator_cache_entries gauge\nrelay_validator_cache_entries 13260\n\n# TYPE relay_validator_cache_evictions_total counter\nrelay_validator_cache_evictions_total 0\n\n# TYPE relay_history_entries gauge\n# HELP relay_history_entries in-memory frame history ring buffer entries\nrelay_history_entries 0\n\n# TYPE relay_evtbuf_entries gauge\n# HELP relay_evtbuf_entries pending flush buffer entries\nrelay_evtbuf_entries 0\n\n# TYPE relay_did_cache_entries gauge\n# HELP relay_did_cache_entries DID-to-UID cache entries\nrelay_did_cache_entries 13346\n\n# TYPE relay_resolve_queue_len gauge\n# HELP relay_resolve_queue_len DID resolve queue length\nrelay_resolve_queue_len 0\n\n# TYPE relay_resolve_queued_set_count gauge\n# HELP relay_resolve_queued_set_count DID resolve dedup set size\nrelay_resolve_queued_set_count 0\n\n# TYPE relay_host_authority_checks_total counter\n# HELP relay_host_authority_checks_total resolveHostAuthority calls on frame workers\nrelay_host_authority_checks_total 13622\n\n# TYPE relay_host_authority_trigger counter\n# HELP relay_host_authority_trigger host authority check triggers by reason\nrelay_host_authority_trigger{reason=\"is_new\"} 13411\nrelay_host_authority_trigger{reason=\"host_changed\"} 211\n\n# TYPE relay_host_authority_time_us_total counter\n# HELP relay_host_authority_time_us_total cumulative microseconds in resolveHostAuthority\nrelay_host_authority_time_us_total 1493419198\n\n# TYPE relay_pool_queued_bytes gauge\n# HELP relay_pool_queued_bytes estimated bytes of frame data queued in worker pool\nrelay_pool_queued_bytes 88089595\n# TYPE relay_ws_pings_sent_total counter\n# HELP relay_ws_pings_sent_total keepalive pings sent to silent upstream connections\nrelay_ws_pings_sent_total 2423\n\n# TYPE relay_ws_ping_timeout_closes_total counter\n# HELP relay_ws_ping_timeout_closes_total connections closed as half-open after max unanswered keepalive pings\nrelay_ws_ping_timeout_closes_total 0\n\n# TYPE relay_ws_ping_write_failures_total counter\n# HELP relay_ws_ping_write_failures_total keepalive ping writes that failed (connection torn down)\nrelay_ws_ping_write_failures_total 0\n# TYPE relay_host_authority_cache_hits_total counter\n# HELP relay_host_authority_cache_hits_total confirmed host mismatches rejected without network resolution\nrelay_host_authority_cache_hits_total 140\n\n# TYPE relay_host_authority_network_checks_total counter\n# HELP relay_host_authority_network_checks_total host authority decisions that performed network resolution\nrelay_host_authority_network_checks_total 13482\n\n# TYPE relay_host_authority_network_time_us_total counter\n# HELP relay_host_authority_network_time_us_total worker microseconds spent waiting on host authority network decisions\nrelay_host_authority_network_time_us_total 452896408\n\n# TYPE relay_host_authority_pool_wait_us_total counter\n# HELP relay_host_authority_pool_wait_us_total worker microseconds spent waiting for a host resolver pool slot\nrelay_host_authority_pool_wait_us_total 995364463\n\n# TYPE relay_host_authority_cache_entries gauge\n# HELP relay_host_authority_cache_entries confirmed DID and incoming host mismatches cached\nrelay_host_authority_cache_entries 192\n# TYPE relay_chain_breaks_total counter\n# HELP relay_chain_breaks_total chain continuity failures by reason\nrelay_chain_breaks_total{reason=\"since\"} 209\nrelay_chain_breaks_total{reason=\"prev_data\"} 213\n\n# TYPE relay_persist_order_spins_total counter\n# HELP relay_persist_order_spins_total retries waiting for the persist ordering lock\nrelay_persist_order_spins_total 8277\n\n# TYPE relay_persist_order_waits_total counter\n# HELP relay_persist_order_waits_total backoff sleeps waiting for the persist ordering lock (advances during a stall)\nrelay_persist_order_waits_total 263\n\n# TYPE relay_broadcast_queue_full_waits_total counter\n# HELP relay_broadcast_queue_full_waits_total backoff sleeps on a full broadcast ring (advances during a stall)\nrelay_broadcast_queue_full_waits_total 0\n\n# TYPE relay_replay_buffer_waits_total counter\n# HELP relay_replay_buffer_waits_total replay pauses waiting for a consumer to drain its buffer\nrelay_replay_buffer_waits_total 0\n\n# TYPE relay_broadcast_queue_push_lock_spins_total counter\n# HELP relay_broadcast_queue_push_lock_spins_total spin iterations waiting for broadcast queue push lock\nrelay_broadcast_queue_push_lock_spins_total 0\n\n# TYPE relay_broadcast_queue_full_total counter\n# HELP relay_broadcast_queue_full_total retries on a full broadcast queue (ring capacity)\nrelay_broadcast_queue_full_total 0\n\n# TYPE relay_broadcast_queue_depth_hwm gauge\n# HELP relay_broadcast_queue_depth_hwm high-water mark of broadcast queue depth\nrelay_broadcast_queue_depth_hwm 25\n\n# TYPE relay_broadcast_no_consumers_total counter\n# HELP relay_broadcast_no_consumers_total frames skipped broadcast (no consumers)\nrelay_broadcast_no_consumers_total 0\n# TYPE relay_validation_failed counter\n# HELP relay_validation_failed validation failures by reason\nrelay_validation_failed{reason=\"bad_did\"} 0\nrelay_validation_failed{reason=\"bad_rev\"} 0\nrelay_validation_failed{reason=\"missing_blocks\"} 0\nrelay_validation_failed{reason=\"oversized_blocks\"} 0\nrelay_validation_failed{reason=\"bad_structure\"} 57\nrelay_validation_failed{reason=\"signature\"} 0\nrelay_validation_failed{reason=\"commit_integrity\"} 92\nrelay_validation_failed{reason=\"sync_1_1\"} 35\nrelay_validation_failed{reason=\"prev_data_missing\"} 177\nrelay_validation_failed{reason=\"host_authority\"} 338\nrelay_validation_failed{reason=\"future_rev\"} 0\n\n# TYPE relay_host_authority_reject counter\n# HELP relay_host_authority_reject host authority reject breakdown by branch\nrelay_host_authority_reject{branch=\"parse_did\"} 0\nrelay_host_authority_reject{branch=\"resolve\"} 1\nrelay_host_authority_reject{branch=\"no_endpoint\"} 0\nrelay_host_authority_reject{branch=\"bad_url\"} 0\nrelay_host_authority_reject{branch=\"unknown_host\"} 0\nrelay_host_authority_reject{branch=\"host_mismatch\"} 197\n\n# TYPE relay_subscriber_disconnect_total counter\n# HELP relay_subscriber_disconnect_total subscriber reconnect-cycle disconnects by phase\nrelay_subscriber_disconnect_total{phase=\"dns_connect\"} 18\nrelay_subscriber_disconnect_total{phase=\"tls_init\"} 49\nrelay_subscriber_disconnect_total{phase=\"ws_handshake\"} 133\nrelay_subscriber_disconnect_total{phase=\"read_loop\"} 102\n# TYPE relay_validator_cache_map_cap gauge\n# HELP relay_validator_cache_map_cap hashmap backing capacity of signing key LRU\nrelay_validator_cache_map_cap 32768\n\n# TYPE relay_did_cache_map_cap gauge\n# HELP relay_did_cache_map_cap hashmap backing capacity of DID-to-UID LRU\nrelay_did_cache_map_cap 32768\n\n# TYPE relay_queued_set_map_cap gauge\n# HELP relay_queued_set_map_cap hashmap backing capacity of resolver dedup set\nrelay_queued_set_map_cap 64\n\n# TYPE relay_evtbuf_cap gauge\n# HELP relay_evtbuf_cap allocated capacity of event flush buffer (jobs)\nrelay_evtbuf_cap 0\n\n# TYPE relay_outbuf_cap gauge\n# HELP relay_outbuf_cap allocated capacity of output byte buffer\nrelay_outbuf_cap 0\n\n# TYPE relay_workers_count gauge\n# HELP relay_workers_count active subscriber worker threads\nrelay_workers_count 2012\n\n# TYPE relay_db_queue_depth gauge\n# HELP relay_db_queue_depth current depth of the DbRequestQueue (tail - head). non-zero with stagnant relay_db_queue_handled_total = workers wedged\nrelay_db_queue_depth 0\n\n# TYPE relay_db_queue_handled_total counter\n# HELP relay_db_queue_handled_total total DbRequest callbacks executed across worker threads\nrelay_db_queue_handled_total 2014\nrelay_stage_count{stage=\"frame\"} 30336\nrelay_stage_ns_total{stage=\"frame\"} 1832292247599\nrelay_stage_ns_max{stage=\"frame\"} 20576471980\nrelay_stage_count{stage=\"validate\"} 29581\nrelay_stage_ns_total{stage=\"validate\"} 9138535746\nrelay_stage_ns_max{stage=\"validate\"} 12434256\nrelay_stage_count{stage=\"index\"} 29486\nrelay_stage_ns_total{stage=\"index\"} 115037992111\nrelay_stage_ns_max{stage=\"index\"} 561198537\nrelay_stage_count{stage=\"post_index\"} 29726\nrelay_stage_ns_total{stage=\"post_index\"} 41587637416\nrelay_stage_ns_max{stage=\"post_index\"} 421629412\n# TYPE relay_process_rss_bytes gauge\nrelay_process_rss_bytes 824778752\n# TYPE relay_vm_hwm_kb gauge\nrelay_vm_hwm_kb 805448\n# TYPE relay_rss_anon_kb gauge\nrelay_rss_anon_kb 799824\n# TYPE relay_malloc_arena_bytes gauge\nrelay_malloc_arena_bytes 443006976\n\n# TYPE relay_malloc_in_use_bytes gauge\nrelay_malloc_in_use_bytes 416137936\n\n# TYPE relay_malloc_free_bytes gauge\nrelay_malloc_free_bytes 26869040\n\n# TYPE relay_malloc_mmap_bytes gauge\nrelay_malloc_mmap_bytes 9752576\n# TYPE relay_malloc_system_bytes gauge\n# HELP relay_malloc_system_bytes total bytes obtained from the OS across all arenas\nrelay_malloc_system_bytes 443006976\n\n# TYPE relay_malloc_free_total_bytes gauge\n# HELP relay_malloc_free_total_bytes free bytes held in all arenas (fast+rest), not returned to OS\nrelay_malloc_free_total_bytes 26909245\n\n# TYPE relay_malloc_arena_count gauge\n# HELP relay_malloc_arena_count number of glibc malloc arenas (tune via MALLOC_ARENA_MAX)\nrelay_malloc_arena_count 9\n# TYPE relay_disk_total_bytes gauge\nrelay_disk_total_bytes 2040373248\n\n# TYPE relay_disk_available_bytes gauge\nrelay_disk_available_bytes 1446514688\nrelay_cache_logical_bytes{component=\"signing_keys\"} 1485277\nrelay_cache_logical_bytes{component=\"did_uids\"} 960896\nrelay_cache_logical_bytes{component=\"host_ids\"} 637296\nrelay_zkv_snapshot_available 0\n# HELP zio_sched_executors executor threads running fibers\n# TYPE zio_sched_executors gauge\nzio_sched_executors 4\n# HELP zio_sched_parks_total executor parks (doze = capped grace park, full = indefinite). all executors parked while ingest is flat = nothing runnable, not a wedge\n# TYPE zio_sched_parks_total counter\nzio_sched_parks_total{kind=\"doze\"} 488579\nzio_sched_parks_total{kind=\"full\"} 240866\n# HELP zio_sched_park_elections_total park exits where a pusher had claimed the executor's idle bit\n# TYPE zio_sched_park_elections_total counter\nzio_sched_park_elections_total 109582\n# HELP zio_sched_steals_total work-stealing scans by outcome (hint_hit = first probe of the hinted victim)\n# TYPE zio_sched_steals_total counter\nzio_sched_steals_total{result=\"attempt\"} 343652\nzio_sched_steals_total{result=\"hit\"} 20936\nzio_sched_steals_total{result=\"hint_hit\"} 9722\n# HELP zio_sched_drain_batches_total cross-executor wake queue drains that woke at least one fiber\n# TYPE zio_sched_drain_batches_total counter\nzio_sched_drain_batches_total 164186\n# HELP zio_sched_drain_woken_total fibers woken by cross-executor drains (flat while frames flow = wakes are being lost)\n# TYPE zio_sched_drain_woken_total counter\nzio_sched_drain_woken_total 185026\n# HELP zio_sched_batch_wake_claims_total sleeping executors woken by batched wake decisions\n# TYPE zio_sched_batch_wake_claims_total counter\nzio_sched_batch_wake_claims_total 1965\n# HELP relay_ingest_stalled 1 when process-wide ingest has been below relay_ingest_stall_threshold_fps for relay_ingest_stall_window_seconds; /_healthz returns 503 while set\n# TYPE relay_ingest_stalled gauge\nrelay_ingest_stalled 0\n# HELP relay_ingest_stall_enabled 0 = kill switch thrown via /admin/ingest-stall; /_healthz never reports a stall\n# TYPE relay_ingest_stall_enabled gauge\nrelay_ingest_stall_enabled 1\n# HELP relay_ingest_rate_fps process-wide ingest rate as sampled by the stall detector\n# TYPE relay_ingest_rate_fps gauge\nrelay_ingest_rate_fps 0.000\n# HELP relay_ingest_below_threshold_seconds how long ingest has been continuously below the threshold (0 = not below)\n# TYPE relay_ingest_below_threshold_seconds gauge\nrelay_ingest_below_threshold_seconds 0\n# TYPE relay_ingest_stall_threshold_fps gauge\nrelay_ingest_stall_threshold_fps 50\n# TYPE relay_ingest_stall_window_seconds gauge\nrelay_ingest_stall_window_seconds 900\n"
  },
  {
    "engine": "rocks",
    "table_encoding": "legacy",
    "cpus": 1,
    "index_snapshot": {
      "files": 7,
      "bytes": 6822893,
      "sst": {
        "legacy": 0,
        "grouped": 0,
        "unknown": 0
      },
      "sstBytes": 0
    },
    "reference_collector_errors": [],
    "app": "zkv-live-63fc9c4c72",
    "cpu_kind": "performance",
    "memory_mib": 2048,
    "cleanup_verified": true,
    "summary": {
      "consumptionSeconds": 120.00062773,
      "unexpectedClose": null,
      "adaptive": false,
      "steadyCandidate": null,
      "steadyQualified": null,
      "consumerStarted": null,
      "sequenceGaps": 0,
      "membershipChecks": [],
      "seconds": 120.20021140600001,
      "stopped": "duration",
      "opened": true,
      "messages": 33087,
      "bytes": 174864362,
      "counts": {
        "#commit": 32829,
        "#identity": 110,
        "#account": 116,
        "#sync": 32
      },
      "malformed": 0,
      "sequenceErrors": 0,
      "lastSeq": 33087,
      "source_event_age_ms": {
        "count": 32829,
        "p50": 39680,
        "p95": 74219,
        "max": 28707931481
      },
      "replayResponse": {
        "head": {
          "op": -1
        },
        "body": {
          "error": "ReplayDisabled",
          "message": "This relay serves live events only"
        }
      },
      "eventFiles": [
        {
          "name": "evts-1",
          "bytes": 0
        }
      ],
      "eventHistoryBytes": 0
    },
    "eval": [
      {
        "host": "bsky.network",
        "events": 62994,
        "unique_dids": 22224,
        "connected": 1,
        "overlap": "[27,7599,1062,13536]"
      },
      {
        "host": "relay.waow.tech",
        "events": 62460,
        "unique_dids": 22077,
        "connected": 1,
        "overlap": "[9,7596,936,13536]"
      },
      {
        "host": "zkv-live-63fc9c4c72.fly.dev",
        "events": 43067,
        "unique_dids": 16608,
        "connected": 1,
        "overlap": "[156,1854,1062,13536]"
      },
      {
        "host": "zkv-live-732c079c92.fly.dev",
        "events": 38870,
        "unique_dids": 15598,
        "connected": 1,
        "overlap": "[0,1849,213,13536]"
      }
    ],
    "coverage": {
      "reference_agreement_dids": 22038,
      "pilot_dids_in_reference_agreement": 14414,
      "reference_agreement_coverage": 0.6540520918413649
    },
    "transport": {
      "window_seconds": 120.00034189,
      "minimum_connected_fraction": 0.99,
      "sources": [
        {
          "host": "bsky.network",
          "connected_ns": 19241472629,
          "ended_ns": 139131741357,
          "stop": "shutdown",
          "error_name": null,
          "connected_fraction": 0.9985057905071274,
          "valid_window": true
        },
        {
          "host": "relay.waow.tech",
          "connected_ns": 19594045123,
          "ended_ns": 139077322021,
          "stop": "shutdown",
          "error_name": null,
          "connected_fraction": 0.9955676947613403,
          "valid_window": true
        },
        {
          "host": "zkv-live-63fc9c4c72.fly.dev",
          "connected_ns": 19148799792,
          "ended_ns": 139232352981,
          "stop": "shutdown",
          "error_name": null,
          "connected_fraction": 0.9992780619485283,
          "valid_window": true
        },
        {
          "host": "zkv-live-732c079c92.fly.dev",
          "connected_ns": 19285610596,
          "ended_ns": 139165890835,
          "stop": "shutdown",
          "error_name": null,
          "connected_fraction": 0.9981379751633973,
          "valid_window": true
        }
      ],
      "valid_window": true
    },
    "stages": {
      "frame": {
        "count": 33435.0,
        "worker_seconds": 1844.471146834,
        "mean_ms": 55.1658784756692,
        "max_ms": 20639.014073
      },
      "validate": {
        "count": 32595.0,
        "worker_seconds": 8.479039189,
        "mean_ms": 0.2601331243749041,
        "max_ms": 10.199378
      },
      "index": {
        "count": 32488.0,
        "worker_seconds": 58.813051393,
        "mean_ms": 1.8103007692994335,
        "max_ms": 928.268655
      },
      "post_index": {
        "count": 32742.0,
        "worker_seconds": 28.345620184,
        "mean_ms": 0.8657265953209944,
        "max_ms": 57.133908
      }
    },
    "authority_worker_seconds": 1641.108867,
    "authority": {
      "checks": 14410.0,
      "network_checks": 14229.0,
      "network_seconds": 454.24226,
      "pool_wait_seconds": 1147.535846,
      "cached_rejections": 181.0,
      "elapsed_seconds": 119.17007439700001,
      "mean_network_concurrency": 3.811714159770929,
      "mean_workers_waiting_for_slot": 9.62939606949585
    },
    "stage_frame_worker_seconds": 1844.471146834,
    "index_worker_share": 0.03188613250684431,
    "authority_worker_share": 0.8897449384431588,
    "metrics_timeouts": 0,
    "minute_points": [
      {
        "seconds": 60.010546741999995,
        "events_per_second": 184.8143379819494,
        "relay_cpu_cores": 0.5007958427726645,
        "rss_mib": 763.390625,
        "queued_mib": 77.60088729858398,
        "machine_busy_cores": 0.821174075330845,
        "steal_pct": 0.33932813030200204,
        "iowait_pct": 17.543264336613504,
        "authority_network_concurrency": 3.5920642596487067,
        "authority_wait_workers": 9.338977011139566,
        "index_mean_ms": 2.115414372584761
      },
      {
        "seconds": 119.19609763800001,
        "events_per_second": 365.91701305704436,
        "relay_cpu_cores": 0.43405864456921406,
        "rss_mib": 793.15625,
        "queued_mib": 78.21692276000977,
        "machine_busy_cores": 0.8250345781466113,
        "steal_pct": 0.3457814661134163,
        "iowait_pct": 17.15076071922545,
        "authority_network_concurrency": 4.034329213553662,
        "authority_wait_workers": 9.923735626488776,
        "index_mean_ms": 1.654709281325525
      }
    ],
    "window_complete": true,
    "tail_queue_max_mib": 82.40499782562256,
    "last_metrics": "# TYPE relay_build_info gauge\n# HELP relay_build_info build provenance\nrelay_build_info{git_sha=\"3badc7c\",optimize=\"safe\"} 1\n# TYPE relay_frames_received_total counter\nrelay_frames_received_total 48672\n\n# TYPE relay_frames_broadcast_total counter\nrelay_frames_broadcast_total 62217\n\n# TYPE relay_consumers_active gauge\nrelay_consumers_active 2\n\n# TYPE relay_validation_total counter\nrelay_validation_total{result=\"validated\"} 18276\nrelay_validation_total{result=\"failed\"} 690\nrelay_validation_total{result=\"skipped\"} 14252\n\n# TYPE relay_rate_limited_total counter\nrelay_rate_limited_total 115\n\n# TYPE relay_rate_limited_by_tier counter\nrelay_rate_limited_by_tier{tier=\"sec\"} 115\nrelay_rate_limited_by_tier{tier=\"hour\"} 0\nrelay_rate_limited_by_tier{tier=\"day\"} 0\n\n# TYPE relay_pool_backpressure_total counter\n# HELP relay_pool_backpressure_total times pool submit blocked on full queue\nrelay_pool_backpressure_total 23\n\n# TYPE relay_decode_errors_total counter\nrelay_decode_errors_total 0\n\n# TYPE relay_cache_total counter\nrelay_cache_total{result=\"hit\"} 18377\nrelay_cache_total{result=\"miss\"} 14249\n\n# TYPE relay_slow_consumers_total counter\nrelay_slow_consumers_total 0\n\n# TYPE relay_connected_inbound gauge\nrelay_connected_inbound 2012\n\n# TYPE relay_upstream_seq gauge\nrelay_upstream_seq 32742\n\n# TYPE relay_seq gauge\nrelay_seq 32743\n\n# TYPE relay_uptime_seconds gauge\nrelay_uptime_seconds 121\n\n# TYPE relay_validator_cache_entries gauge\nrelay_validator_cache_entries 13971\n\n# TYPE relay_validator_cache_evictions_total counter\nrelay_validator_cache_evictions_total 0\n\n# TYPE relay_history_entries gauge\n# HELP relay_history_entries in-memory frame history ring buffer entries\nrelay_history_entries 0\n\n# TYPE relay_evtbuf_entries gauge\n# HELP relay_evtbuf_entries pending flush buffer entries\nrelay_evtbuf_entries 0\n\n# TYPE relay_did_cache_entries gauge\n# HELP relay_did_cache_entries DID-to-UID cache entries\nrelay_did_cache_entries 14056\n\n# TYPE relay_resolve_queue_len gauge\n# HELP relay_resolve_queue_len DID resolve queue length\nrelay_resolve_queue_len 0\n\n# TYPE relay_resolve_queued_set_count gauge\n# HELP relay_resolve_queued_set_count DID resolve dedup set size\nrelay_resolve_queued_set_count 0\n\n# TYPE relay_host_authority_checks_total counter\n# HELP relay_host_authority_checks_total resolveHostAuthority calls on frame workers\nrelay_host_authority_checks_total 14410\n\n# TYPE relay_host_authority_trigger counter\n# HELP relay_host_authority_trigger host authority check triggers by reason\nrelay_host_authority_trigger{reason=\"is_new\"} 14127\nrelay_host_authority_trigger{reason=\"host_changed\"} 283\n\n# TYPE relay_host_authority_time_us_total counter\n# HELP relay_host_authority_time_us_total cumulative microseconds in resolveHostAuthority\nrelay_host_authority_time_us_total 1641108867\n\n# TYPE relay_pool_queued_bytes gauge\n# HELP relay_pool_queued_bytes estimated bytes of frame data queued in worker pool\nrelay_pool_queued_bytes 82016388\n# TYPE relay_ws_pings_sent_total counter\n# HELP relay_ws_pings_sent_total keepalive pings sent to silent upstream connections\nrelay_ws_pings_sent_total 2544\n\n# TYPE relay_ws_ping_timeout_closes_total counter\n# HELP relay_ws_ping_timeout_closes_total connections closed as half-open after max unanswered keepalive pings\nrelay_ws_ping_timeout_closes_total 0\n\n# TYPE relay_ws_ping_write_failures_total counter\n# HELP relay_ws_ping_write_failures_total keepalive ping writes that failed (connection torn down)\nrelay_ws_ping_write_failures_total 0\n# TYPE relay_host_authority_cache_hits_total counter\n# HELP relay_host_authority_cache_hits_total confirmed host mismatches rejected without network resolution\nrelay_host_authority_cache_hits_total 181\n\n# TYPE relay_host_authority_network_checks_total counter\n# HELP relay_host_authority_network_checks_total host authority decisions that performed network resolution\nrelay_host_authority_network_checks_total 14229\n\n# TYPE relay_host_authority_network_time_us_total counter\n# HELP relay_host_authority_network_time_us_total worker microseconds spent waiting on host authority network decisions\nrelay_host_authority_network_time_us_total 454242260\n\n# TYPE relay_host_authority_pool_wait_us_total counter\n# HELP relay_host_authority_pool_wait_us_total worker microseconds spent waiting for a host resolver pool slot\nrelay_host_authority_pool_wait_us_total 1147535846\n\n# TYPE relay_host_authority_cache_entries gauge\n# HELP relay_host_authority_cache_entries confirmed DID and incoming host mismatches cached\nrelay_host_authority_cache_entries 221\n# TYPE relay_chain_breaks_total counter\n# HELP relay_chain_breaks_total chain continuity failures by reason\nrelay_chain_breaks_total{reason=\"since\"} 211\nrelay_chain_breaks_total{reason=\"prev_data\"} 216\n\n# TYPE relay_persist_order_spins_total counter\n# HELP relay_persist_order_spins_total retries waiting for the persist ordering lock\nrelay_persist_order_spins_total 5513\n\n# TYPE relay_persist_order_waits_total counter\n# HELP relay_persist_order_waits_total backoff sleeps waiting for the persist ordering lock (advances during a stall)\nrelay_persist_order_waits_total 137\n\n# TYPE relay_broadcast_queue_full_waits_total counter\n# HELP relay_broadcast_queue_full_waits_total backoff sleeps on a full broadcast ring (advances during a stall)\nrelay_broadcast_queue_full_waits_total 0\n\n# TYPE relay_replay_buffer_waits_total counter\n# HELP relay_replay_buffer_waits_total replay pauses waiting for a consumer to drain its buffer\nrelay_replay_buffer_waits_total 0\n\n# TYPE relay_broadcast_queue_push_lock_spins_total counter\n# HELP relay_broadcast_queue_push_lock_spins_total spin iterations waiting for broadcast queue push lock\nrelay_broadcast_queue_push_lock_spins_total 0\n\n# TYPE relay_broadcast_queue_full_total counter\n# HELP relay_broadcast_queue_full_total retries on a full broadcast queue (ring capacity)\nrelay_broadcast_queue_full_total 0\n\n# TYPE relay_broadcast_queue_depth_hwm gauge\n# HELP relay_broadcast_queue_depth_hwm high-water mark of broadcast queue depth\nrelay_broadcast_queue_depth_hwm 39\n\n# TYPE relay_broadcast_no_consumers_total counter\n# HELP relay_broadcast_no_consumers_total frames skipped broadcast (no consumers)\nrelay_broadcast_no_consumers_total 0\n# TYPE relay_validation_failed counter\n# HELP relay_validation_failed validation failures by reason\nrelay_validation_failed{reason=\"bad_did\"} 0\nrelay_validation_failed{reason=\"bad_rev\"} 0\nrelay_validation_failed{reason=\"missing_blocks\"} 0\nrelay_validation_failed{reason=\"oversized_blocks\"} 0\nrelay_validation_failed{reason=\"bad_structure\"} 64\nrelay_validation_failed{reason=\"signature\"} 0\nrelay_validation_failed{reason=\"commit_integrity\"} 101\nrelay_validation_failed{reason=\"sync_1_1\"} 37\nrelay_validation_failed{reason=\"prev_data_missing\"} 174\nrelay_validation_failed{reason=\"host_authority\"} 415\nrelay_validation_failed{reason=\"future_rev\"} 0\n\n# TYPE relay_host_authority_reject counter\n# HELP relay_host_authority_reject host authority reject breakdown by branch\nrelay_host_authority_reject{branch=\"parse_did\"} 0\nrelay_host_authority_reject{branch=\"resolve\"} 1\nrelay_host_authority_reject{branch=\"no_endpoint\"} 0\nrelay_host_authority_reject{branch=\"bad_url\"} 0\nrelay_host_authority_reject{branch=\"unknown_host\"} 0\nrelay_host_authority_reject{branch=\"host_mismatch\"} 233\n\n# TYPE relay_subscriber_disconnect_total counter\n# HELP relay_subscriber_disconnect_total subscriber reconnect-cycle disconnects by phase\nrelay_subscriber_disconnect_total{phase=\"dns_connect\"} 12\nrelay_subscriber_disconnect_total{phase=\"tls_init\"} 56\nrelay_subscriber_disconnect_total{phase=\"ws_handshake\"} 133\nrelay_subscriber_disconnect_total{phase=\"read_loop\"} 119\n# TYPE relay_validator_cache_map_cap gauge\n# HELP relay_validator_cache_map_cap hashmap backing capacity of signing key LRU\nrelay_validator_cache_map_cap 32768\n\n# TYPE relay_did_cache_map_cap gauge\n# HELP relay_did_cache_map_cap hashmap backing capacity of DID-to-UID LRU\nrelay_did_cache_map_cap 32768\n\n# TYPE relay_queued_set_map_cap gauge\n# HELP relay_queued_set_map_cap hashmap backing capacity of resolver dedup set\nrelay_queued_set_map_cap 64\n\n# TYPE relay_evtbuf_cap gauge\n# HELP relay_evtbuf_cap allocated capacity of event flush buffer (jobs)\nrelay_evtbuf_cap 0\n\n# TYPE relay_outbuf_cap gauge\n# HELP relay_outbuf_cap allocated capacity of output byte buffer\nrelay_outbuf_cap 0\n\n# TYPE relay_workers_count gauge\n# HELP relay_workers_count active subscriber worker threads\nrelay_workers_count 2012\n\n# TYPE relay_db_queue_depth gauge\n# HELP relay_db_queue_depth current depth of the DbRequestQueue (tail - head). non-zero with stagnant relay_db_queue_handled_total = workers wedged\nrelay_db_queue_depth 0\n\n# TYPE relay_db_queue_handled_total counter\n# HELP relay_db_queue_handled_total total DbRequest callbacks executed across worker threads\nrelay_db_queue_handled_total 2014\nrelay_stage_count{stage=\"frame\"} 33435\nrelay_stage_ns_total{stage=\"frame\"} 1844471146834\nrelay_stage_ns_max{stage=\"frame\"} 20639014073\nrelay_stage_count{stage=\"validate\"} 32595\nrelay_stage_ns_total{stage=\"validate\"} 8479039189\nrelay_stage_ns_max{stage=\"validate\"} 10199378\nrelay_stage_count{stage=\"index\"} 32488\nrelay_stage_ns_total{stage=\"index\"} 58813051393\nrelay_stage_ns_max{stage=\"index\"} 928268655\nrelay_stage_count{stage=\"post_index\"} 32742\nrelay_stage_ns_total{stage=\"post_index\"} 28345620184\nrelay_stage_ns_max{stage=\"post_index\"} 57133908\n# TYPE relay_process_rss_bytes gauge\nrelay_process_rss_bytes 831700992\n# TYPE relay_vm_hwm_kb gauge\nrelay_vm_hwm_kb 812208\n# TYPE relay_rss_anon_kb gauge\nrelay_rss_anon_kb 797172\n# TYPE relay_malloc_arena_bytes gauge\nrelay_malloc_arena_bytes 440709120\n\n# TYPE relay_malloc_in_use_bytes gauge\nrelay_malloc_in_use_bytes 415745712\n\n# TYPE relay_malloc_free_bytes gauge\nrelay_malloc_free_bytes 24963408\n\n# TYPE relay_malloc_mmap_bytes gauge\nrelay_malloc_mmap_bytes 9555968\n# TYPE relay_malloc_system_bytes gauge\n# HELP relay_malloc_system_bytes total bytes obtained from the OS across all arenas\nrelay_malloc_system_bytes 440709120\n\n# TYPE relay_malloc_free_total_bytes gauge\n# HELP relay_malloc_free_total_bytes free bytes held in all arenas (fast+rest), not returned to OS\nrelay_malloc_free_total_bytes 24993432\n\n# TYPE relay_malloc_arena_count gauge\n# HELP relay_malloc_arena_count number of glibc malloc arenas (tune via MALLOC_ARENA_MAX)\nrelay_malloc_arena_count 9\n# TYPE relay_disk_total_bytes gauge\nrelay_disk_total_bytes 2040373248\n\n# TYPE relay_disk_available_bytes gauge\nrelay_disk_available_bytes 1429049344\nrelay_cache_logical_bytes{component=\"signing_keys\"} 1565357\nrelay_cache_logical_bytes{component=\"did_uids\"} 1012232\nrelay_cache_logical_bytes{component=\"host_ids\"} 671664\n# HELP zio_sched_executors executor threads running fibers\n# TYPE zio_sched_executors gauge\nzio_sched_executors 4\n# HELP zio_sched_parks_total executor parks (doze = capped grace park, full = indefinite). all executors parked while ingest is flat = nothing runnable, not a wedge\n# TYPE zio_sched_parks_total counter\nzio_sched_parks_total{kind=\"doze\"} 579536\nzio_sched_parks_total{kind=\"full\"} 292261\n# HELP zio_sched_park_elections_total park exits where a pusher had claimed the executor's idle bit\n# TYPE zio_sched_park_elections_total counter\nzio_sched_park_elections_total 130964\n# HELP zio_sched_steals_total work-stealing scans by outcome (hint_hit = first probe of the hinted victim)\n# TYPE zio_sched_steals_total counter\nzio_sched_steals_total{result=\"attempt\"} 416573\nzio_sched_steals_total{result=\"hit\"} 30305\nzio_sched_steals_total{result=\"hint_hit\"} 12784\n# HELP zio_sched_drain_batches_total cross-executor wake queue drains that woke at least one fiber\n# TYPE zio_sched_drain_batches_total counter\nzio_sched_drain_batches_total 181946\n# HELP zio_sched_drain_woken_total fibers woken by cross-executor drains (flat while frames flow = wakes are being lost)\n# TYPE zio_sched_drain_woken_total counter\nzio_sched_drain_woken_total 199325\n# HELP zio_sched_batch_wake_claims_total sleeping executors woken by batched wake decisions\n# TYPE zio_sched_batch_wake_claims_total counter\nzio_sched_batch_wake_claims_total 1987\n# HELP relay_ingest_stalled 1 when process-wide ingest has been below relay_ingest_stall_threshold_fps for relay_ingest_stall_window_seconds; /_healthz returns 503 while set\n# TYPE relay_ingest_stalled gauge\nrelay_ingest_stalled 0\n# HELP relay_ingest_stall_enabled 0 = kill switch thrown via /admin/ingest-stall; /_healthz never reports a stall\n# TYPE relay_ingest_stall_enabled gauge\nrelay_ingest_stall_enabled 1\n# HELP relay_ingest_rate_fps process-wide ingest rate as sampled by the stall detector\n# TYPE relay_ingest_rate_fps gauge\nrelay_ingest_rate_fps 0.000\n# HELP relay_ingest_below_threshold_seconds how long ingest has been continuously below the threshold (0 = not below)\n# TYPE relay_ingest_below_threshold_seconds gauge\nrelay_ingest_below_threshold_seconds 0\n# TYPE relay_ingest_stall_threshold_fps gauge\nrelay_ingest_stall_threshold_fps 50\n# TYPE relay_ingest_stall_window_seconds gauge\nrelay_ingest_stall_window_seconds 900\n"
  }
]