19981612 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 03:00.101
Run Time 07:03.552
Inserted 3h ago
Scheduled 2h ago
Completed 2h ago (07:04)
Cancelled
Discarded

Args

%{
  "account_id" => "221440",
  "date" => "2026-03-07",
  "query" => "event_counts",
  "window_days" => 30
}

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772845537820083,
  "recorded" => true,
  "return" => "g1AAAAG3eJxVkU1KBDEQhUuEGXC6m0EExbUncCGew62LkKRreoLpJKTSXXoE8TbiQnDpXtx6G9N/Mm4C7+NV5b0kAcAFr7BHl0jdva/fsojRR1Kwebnlkk3dYBLWyxprec6bnfVMgvaenYL15TcXjZeWRGuIsgO4nHREqfdYK4AGuHKBRI0pSp3y7uwqBuKwy8gOuhx0iL71CUfDSZANit4gkzq+315xQToiuhnBh/jk09YrY1HgY8Bo0GmcJo37S3hkrnk77KYu9vg04Ww6O2ARKXhH4/AWW2lyfJkStiGNjTYzo/xIWVazVL7LN46VZ7LL5z/gA7oRLDPaGv0wWZR0LlddgkIRuJIh6A5JzP+xev754kp1xtYYFwjwevMLHCOhqA",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc5a5-c88e-7f4d-acc9-d6fe0580dbc5"
}

Recorded Output

%{
  events: 1387792308,
  errors: 756536,
  widget_loaded: 23,
  flows_shown: 465616,
  goals_missed: 0,
  goals_reached: 26368,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 56299556,
  screen_views: 12279747,
  mobile_experiences: 0,
  pins_shown: 92466,
  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: 3184,
  appcues_events: 109697486,
  builder_events: 45622
}

Errors

Attempt 1—2h ago

** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4

The following arguments were given to Ch.RowBinary.decode_names/4:

    # 1
    "pool: PrefetchedReadPool, algorithm: Thread). (MEMORY_LIMIT_EXCEEDED) (version 25.10.1.7525 (official build))\n"

    # 2
    63

    # 3
    67

    # 4
    ["While executing MergeTreeSelect(", "ximum: 320.40 GiB. OvercommitTracker decision: Waiting timeout for memory to be freed is reached:", "MiB), current RSS: 334.19 GiB, m", "de: 241. DB::Exception: (total) memory limit exceeded: would use 339.60 GiB (attempt to allocate chunk of 16.00"]

    (ch 0.7.1) lib/ch/row_binary.ex:789: Ch.RowBinary.decode_names/4
    (ch 0.7.1) lib/ch/query.ex:290: DBConnection.Query.Ch.Query.decode/3
    (db_connection 2.9.0) lib/db_connection.ex:1470: DBConnection.decode/4
    (db_connection 2.9.0) lib/db_connection.ex:849: DBConnection.execute/4
    (ch 0.7.1) lib/ch.ex:94: Ch.query/4
    (ecto_sql 3.13.4) lib/ecto/adapters/sql.ex:620: Ecto.Adapters.SQL.query!/4
    (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