mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 10:12:34 +00:00
Co-authored-by: Subin <subinthattaparambil@gmail.com> Co-authored-by: Manoj <manojmj92@gmail.com> Co-authored-by: Nithin <webofnithin@gmail.com>
9 lines
341 B
Ruby
9 lines
341 B
Ruby
class AgentIdentity < Nightfury::Identity::Base
|
|
metric :avg_first_response_time, :avg_time_series, store_as: :d, step: :day
|
|
metric :avg_resolution_time, :avg_time_series, store_as: :f, step: :day
|
|
metric :resolutions_count, :count_time_series, store_as: :g, step: :day
|
|
tag :account_id, store_as: :co
|
|
end
|
|
|
|
AgentIdentity.store_as = :ai
|