Class: Gitlab::UsageDataCounters::SnippetCounter

Inherits:
BaseCounter
  • Object
show all
Defined in:
lib/gitlab/usage_data_counters/snippet_counter.rb

Constant Summary collapse

KNOWN_EVENTS =
%w[create update].freeze
PREFIX =
'snippet'

Constants inherited from BaseCounter

BaseCounter::UnknownEvent

Method Summary

Methods inherited from BaseCounter

count, fallback_totals, fetch_supported_event, read, redis_key, totals

Methods included from RedisCounter

#increment, #increment_by, #total_count