summaryrefslogtreecommitdiff
path: root/lib/gitlab/usage_data_counters/static_site_editor_counter.rb
blob: 8886a106da865ee6de641ef57cba11a1de8adfaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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