Commit c1ba7880 authored by Mike Jang's avatar Mike Jang

Merge branch 'am-update-test-snippet-redis-hll-tracking' into 'master'

Fix test code snippet for tracking Redis events

See merge request gitlab-org/gitlab!53603
parents b4267e62 efb96615
...@@ -638,7 +638,7 @@ Next, get the unique events for the current week. ...@@ -638,7 +638,7 @@ Next, get the unique events for the current week.
```ruby ```ruby
# Get unique events for metric for current_week # Get unique events for metric for current_week
Gitlab::UsageDataCounters::HLLRedisCounter.unique_events(event_names: 'g_compliance_audit_events', Gitlab::UsageDataCounters::HLLRedisCounter.unique_events(event_names: 'g_compliance_audit_events',
start_date: Date.current.beginning_of_week, end_date: Date.current.end_of_week) start_date: Date.current.beginning_of_week, end_date: Date.current.next_week)
``` ```
##### Recommendations ##### Recommendations
......
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