20867388 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 2 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.23
Queue Time 21:57.267
Run Time 11:05.751
Inserted 2h ago
Scheduled 1h ago
Completed 53m ago (11:06)
Cancelled
Discarded

Args

%{
  "account_id" => "107584",
  "date" => "2026-03-16",
  "query" => "user_counts",
  "window_days" => 30
}

Meta

%{
  "deps" => [],
  "name" => "generate_user_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1773620101921191,
  "recorded" => true,
  "return" => "g1AAAAB7eJwrYWBgYCvnSUwuySxLjS8tTi0qTmLg/LK9nCc3PykzByqUyFDOW56aVJxZglDTJFbOn5iXn1eZm19aDFcmkJmSmleSmZaZmoJsGl9yfm5SZh6SYJMYALUdLRc",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cf3ff-0195-7e1d-8584-b6eeeaa767dc"
}

Recorded Output

%{
  active_users: 652471,
  mobile_users: 0,
  website_users: 623126,
  anonymous_users: 0,
  identified_users: 652471,
  combined_users: 623126
}

Errors

Attempt 1—1h ago

** (ArgumentError) errors were found at the given arguments:

  * 2nd argument: not a key that exists in the table

    (stdlib 7.2) :ets.lookup_element(ClickClient.Repo.PartitionSupervisor, 2, 2)
    (elixir 1.19.5) lib/partition_supervisor.ex:535: PartitionSupervisor.whereis_name/1
    (elixir 1.19.5) lib/gen_server.ex:1314: GenServer.whereis/1
    (db_connection 2.9.0) lib/db_connection/holder.ex:273: DBConnection.Holder.checkout/5
    (db_connection 2.9.0) lib/db_connection/holder.ex:60: DBConnection.Holder.checkout/3
    (db_connection 2.9.0) lib/db_connection.ex:1335: DBConnection.checkout/3
    (db_connection 2.9.0) lib/db_connection.ex:1584: DBConnection.run_with_retries/5
    (db_connection 2.9.0) lib/db_connection.ex:848: DBConnection.execute/4