Chore: Remove redis backed reporting (#669)
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Constants::Report
|
||||
ACCOUNT_METRICS = [:conversations_count,
|
||||
:incoming_messages_count,
|
||||
:outgoing_messages_count,
|
||||
:avg_first_response_time,
|
||||
:avg_resolution_time,
|
||||
:resolutions_count].freeze
|
||||
|
||||
AVG_ACCOUNT_METRICS = [:avg_first_response_time, :avg_resolution_time].freeze
|
||||
|
||||
AGENT_METRICS = [:avg_first_response_time,
|
||||
:avg_resolution_time,
|
||||
:resolutions_count].freeze
|
||||
|
||||
AVG_AGENT_METRICS = [:avg_first_response_time, :avg_resolution_time].freeze
|
||||
end
|
||||
@@ -1,33 +0,0 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module CustomExceptions::Report
|
||||
class InvalidIdentity < CustomExceptions::Base
|
||||
def message
|
||||
'Invalid type'
|
||||
end
|
||||
end
|
||||
|
||||
class IdentityNotFound < CustomExceptions::Base
|
||||
def message
|
||||
'Type with the specified id not found'
|
||||
end
|
||||
end
|
||||
|
||||
class MetricNotFound < CustomExceptions::Base
|
||||
def message
|
||||
'Metric for the specified type not found'
|
||||
end
|
||||
end
|
||||
|
||||
class InvalidStartTime < CustomExceptions::Base
|
||||
def message
|
||||
'Invalid start_time'
|
||||
end
|
||||
end
|
||||
|
||||
class InvalidEndTime < CustomExceptions::Base
|
||||
def message
|
||||
'Invalid end_time'
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user