diff options
Diffstat (limited to 'doc/development/product_analytics/usage_ping.md')
-rw-r--r-- | doc/development/product_analytics/usage_ping.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/product_analytics/usage_ping.md b/doc/development/product_analytics/usage_ping.md index 63378762038..0be5f8eb1ab 100644 --- a/doc/development/product_analytics/usage_ping.md +++ b/doc/development/product_analytics/usage_ping.md @@ -226,7 +226,7 @@ sum(JiraImportState.finished, :imported_issues_count) ### Grouping & Batch Operations The `count`, `distinct_count`, and `sum` batch counters can accept an `ActiveRecord::Relation` -object, which groups by a specified column. With a grouped relation, the methods do batch counting, +object, which groups by a specified column. With a grouped relation, the methods do batch counting, handle errors, and returns a hash table of key-value pairs. Examples: @@ -912,7 +912,7 @@ The following is example content of the Usage Ping payload. ## Exporting Usage Ping SQL queries and definitions -Two Rake tasks exist to export Usage Ping definitions. +Two Rake tasks exist to export Usage Ping definitions. - The Rake tasks export the raw SQL queries for `count`, `distinct_count`, `sum`. - The Rake tasks export the Redis counter class or the line of the Redis block for `redis_usage_data`. |