Commit 0bc39485 authored by Sean McGivern's avatar Sean McGivern

Always include recorded_at in usage ping

parent 7373b370
......@@ -67,10 +67,13 @@ module Gitlab
end
def license_usage_data
usage_data = { uuid: current_application_settings.uuid,
version: Gitlab::VERSION,
active_user_count: User.active.count,
mattermost_enabled: Gitlab.config.mattermost.enabled }
usage_data = {
uuid: current_application_settings.uuid,
version: Gitlab::VERSION,
active_user_count: User.active.count,
recorded_at: Time.now,
mattermost_enabled: Gitlab.config.mattermost.enabled
}
license = ::License.current
......@@ -82,7 +85,6 @@ module Gitlab
usage_data[:license_starts_at] = license.starts_at
usage_data[:license_expires_at] = license.expires_at
usage_data[:license_add_ons] = license.add_ons
usage_data[:recorded_at] = Time.now
end
usage_data
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment