19826746 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.159
Queue Time 15:03.502
Run Time 00:06.393
Inserted 3h ago
Scheduled 1h ago
Completed 1h ago (00:07)
Cancelled
Discarded

Args

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

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772758215028872,
  "recorded" => true,
  "return" => "g1AAAAHGeJxNkT1OAzEQhZ0IKJLdVYRSgCg5Ax1IVCBxCCz/TDYWXtvyeDNQISQOQotouAEH4ACcAYmGgj7e7GpFY+l9mpn3ZpwYY0d0ABtwCeXkkm6yiNFHlIzdXlNJRteQuPVCg5Zs+fFI85X1hBzXnlyuuniiovbCIm8MImjBqOx1BKHWXRerzqhyAbmGFIVK/fjJMRUddNBmalG8U9npEH3jE+xqpl80C6IGvjFAGXwWNRWoIoDrUXY7bLw0FjjcB4gGnIKOzoJxY8h980uLbja2cQMPY/a3Z1r+wxEweIfQOe+90AIaYfIeIiVoQsqrvdJ8YJgPlmU1SOnb7KtFSeVAVvntjzEAH8DtjjH9G9uUNeouV51SKYVzeecx2sk3VSIE1QLy4XuYvvqhSrbGaogjnJ2LLTpgps0",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-79aa-7c47-b042-86c0ad1f378e"
}

Recorded Output

%{
  events: 21002058,
  errors: 24135,
  widget_loaded: 1359743,
  flows_shown: 15745,
  goals_missed: 0,
  goals_reached: 3637,
  nps_detractors: 281,
  nps_neutrals: 176,
  nps_promoters: 727,
  page_views: 13306983,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 354801,
  nps_survey_shown: 43908,
  nps_survey_responses: 1184,
  emails_attempted: 169,
  emails_sent: 169,
  emails_bounced: 13,
  emails_failed: 0,
  emails_opened: 757,
  emails_clicked: 35,
  banners_shown: 7145,
  appcues_events: 6571756,
  builder_events: 670817
}

Errors

Attempt 1—1h ago

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

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

    # 1
    "PTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    ["uery: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRI", "d with error. It can mean that some retryable error happened, or data is corrupted. Please retry the ", "nd: 0: (while reading column timestamp): (attempt to read data part all_116956_119349_8_112386651 (state Active) fail", "ne, current write offset: 671088640, caller id: 4ff87121-1bc8-4bd9-9fde-06ec5c7402d5:44621, kind: Regular, unbo", "D, downloaded size: 4194304, reserved size: 4194304, downloader id: N", "nt info: File segment: [666894336, 671088639], key: 1e92b8f223a418a34afaca7333429158, state: DOWNLOAD", "D, last caller: 4ff87121-1bc8-4bd9-9fde-06ec5c7402d5:44621, file segm", "67085865, internal buffer end: 159029, read_type: CACH", "667053365, read_until_position: ", "2b8f223a418a34afaca7333429158, file_offset_of_buffer_end:", "h-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/lpb/ghqpwkjnswjhxjyzveojilpwvrxnx, hash key: 1e", "error: Cache info: Buffer path: ", "333429158/666894336: , errno: 5, strerror: Input/output", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/1e9/1e92b8f223a418a34afaca"]

    (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