summaryrefslogtreecommitdiff
path: root/lib/gitlab/usage_data_counters/static_site_editor_counter.rb
blob: 3c5989d1e110573e530dd3299540a10f5346f977 (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 commits merge_requests].freeze
      PREFIX = 'static_site_editor'

      class << self
        def increment_views_count
          count(:views)
        end
      end
    end
  end
end