19816598 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 25:01.111
Run Time 00:01.160
Inserted 4h ago
Scheduled 3h ago
Completed 3h ago (00:02)
Cancelled
Discarded

Args

%{
  "account_id" => "55940",
  "date" => "2026-03-06",
  "query" => "event_counts",
  "window_days" => 1
}

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772756413159426,
  "recorded" => true,
  "return" => "g1AAAAGueJxVkc1OxCAUhUkm0WScNhPHhYkb1y59IQL0TIdIgXBp8WftylfxqXwSb0sddUNyvpx7OQeyEOK2XGCCz6TF5eGTRUohsRBfH6UptuuRpQuqQ6dEuTq6UEjSKRTPlu1d2fVBOZKDJVocTdUJypwW0PpIskNOymRezGQ3E4+RkZt1M+uYwhAyFsM2qh5ysiicY/P6UHZkEuArYsP1ELR1kHiOSBbeoI5Z/5vt/rHs58U0pgkvFbPp5g9LoBg8LcN7DMpycJUzhphr25URP8/cZJU6jHzjUnYlRz7/gRDha/sVGGfNU7Vo5T33PCdqVYxmBMmfb9i869Lq0boO6QzF4e0bnN6bxw",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7886-7309-8cf0-9861113bf21f"
}

Recorded Output

%{
  events: 463788,
  errors: 57995,
  widget_loaded: 0,
  flows_shown: 2587,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 227882,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 8242,
  nps_survey_shown: 0,
  nps_survey_responses: 0,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 0,
  appcues_events: 230754,
  builder_events: 4987
}

Errors

Attempt 1—3h ago

** (Ch.Error) Code: 74. DB::ErrnoException: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/a8a/a8a2ade555c719340098e5da1804400a/0: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-c95/aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/dbm/esbcyztpldyrxxzqipcsyzveqcrui, hash key: a8a2ade555c719340098e5da1804400a, file_offset_of_buffer_end: 348160, read_until_position: 366532, internal buffer end: 348160, read_type: CACHED, last caller: 1d47cab7-0550-4d91-bb19-ca1eeed5a325:44156, file segment info: File segment: [0, 1225510], key: a8a2ade555c719340098e5da1804400a, state: DOWNLOADED, downloaded size: 1225511, reserved size: 1225511, downloader id: None, current write offset: 1225511, caller id: 1d47cab7-0550-4d91-bb19-ca1eeed5a325:44156, kind: Regular, unbound: 0. (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))

    (ecto_sql 3.13.4) lib/ecto/adapters/sql.ex:1113: Ecto.Adapters.SQL.raise_sql_call_error/1
    (ecto_ch 0.8.6) lib/ecto/adapters/clickhouse.ex:323: Ecto.Adapters.ClickHouse.execute/5
    (ecto 3.13.5) lib/ecto/repo/queryable.ex:241: Ecto.Repo.Queryable.execute/4
    (ecto 3.13.5) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
    (ecto 3.13.5) lib/ecto/repo/queryable.ex:171: Ecto.Repo.Queryable.one!/3
    (customer_api 1.21.0+0fcb3e63) lib/customer_api/jobs/generate_account_metrics.ex:37: CustomerApi.Jobs.GenerateAccountMetrics.process/1
    (oban_pro 1.6.12) lib/oban/pro/worker.ex:1156: Oban.Pro.Worker.process/3
    (oban 2.20.3) lib/oban/queue/executor.ex:145: Oban.Queue.Executor.perform/1