diff options
Diffstat (limited to 'lib/gitlab/usage_data_counters/snippet_counter.rb')
-rw-r--r-- | lib/gitlab/usage_data_counters/snippet_counter.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/gitlab/usage_data_counters/snippet_counter.rb b/lib/gitlab/usage_data_counters/snippet_counter.rb new file mode 100644 index 00000000000..e4d234ce4d9 --- /dev/null +++ b/lib/gitlab/usage_data_counters/snippet_counter.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module Gitlab::UsageDataCounters + class SnippetCounter < BaseCounter + KNOWN_EVENTS = %w[create update].freeze + PREFIX = 'snippet' + end +end |