19723439 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 04:23.165
Run Time 01:31.922
Inserted 17h ago
Scheduled 15h ago
Completed 15h ago (01:32)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772672726280604,
  "recorded" => true,
  "return" => "g1AAAAG0eJxVkc9KAzEQh6OHFWx3KUXQu7c+hycPPkAvIX+mbTCbhEy2o4/iU4iCbyB49eDFdxFxdrsregl8H79JZiZFCHFBFewhFNTLp7cXhpxjRi1OntdUk7NbKNJHZcGqimYbHwkl7iIFLY7fv2i+jcqjbB0iJwTVB86gzA6sFuL8k5qQUFooWZnCd3Nq3psAHSvfc91zyrGNBYbAaVJbkHsHxK28Pl7THE0GCJNafXzTso3aeZBwlyA7CAYOlS6MHTIt+ouxy3u4/3Vnf1wGTDHgULmAVjnuXZUCbSrDOLPRIW+IsRlRx46fG+YdzYbPfyImCIOYaox35vYQ0SoEnnPao6iuqFEpmQ5Qjp9x9HC5pkZ3zlvIkxRidfMD6C6iqA",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cbb59-19f9-7996-97a4-3a0b298bf2c6"
}

Recorded Output

%{
  events: 313640885,
  errors: 504410,
  widget_loaded: 6,
  flows_shown: 184572,
  goals_missed: 0,
  goals_reached: 6105,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 12889930,
  screen_views: 2807038,
  mobile_experiences: 0,
  pins_shown: 0,
  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: 1604,
  appcues_events: 26813274,
  builder_events: 10830
}

Errors

Attempt 1—15h 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.7375 (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: 291.85 GiB, m", "de: 241. DB::Exception: (total) memory limit exceeded: would use 320.46 GiB (attempt to allocate chunk of 12.30"]

    (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