diff options
author | Igor <idrozdov@gitlab.com> | 2019-08-14 01:33:16 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-08-14 01:33:16 +0300 |
commit | 04598039a53c452df9b1a30404f2abbe46f8e229 (patch) | |
tree | 0163503ce3a2395621f610489ce15eaa16868670 /lib/gitlab/usage_data_counters | |
parent | 383a18403f049652807df0be3be7a4a9cfc2aa95 (diff) |
Add usage pings for source code pushes
Source Code Usage Ping for Create SMAU
Diffstat (limited to 'lib/gitlab/usage_data_counters')
-rw-r--r-- | lib/gitlab/usage_data_counters/source_code_counter.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/gitlab/usage_data_counters/source_code_counter.rb b/lib/gitlab/usage_data_counters/source_code_counter.rb new file mode 100644 index 00000000000..8a1771a7bd1 --- /dev/null +++ b/lib/gitlab/usage_data_counters/source_code_counter.rb @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +module Gitlab::UsageDataCounters + class SourceCodeCounter < BaseCounter + KNOWN_EVENTS = %w[pushes].freeze + PREFIX = 'source_code' + end +end |