17 lines
313 B
Ruby
17 lines
313 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module Gitlab
|
||
|
module UsageDataCounters
|
||
|
class StaticSiteEditorCounter < BaseCounter
|
||
|
KNOWN_EVENTS = %w[views].freeze
|
||
|
PREFIX = 'static_site_editor'
|
||
|
|
||
|
class << self
|
||
|
def increment_views_count
|
||
|
count(:views)
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|