Ticket #110 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

Add tracking for statistics on a per-domain basis

Reported by: rjl Owned by: rjl
Priority: high Milestone: 1.1.0
Component: General Version: 1.0.0 RC6
Severity: major Keywords: stats statistics domain
Cc:

Description

Stats are currently tracked on a per-user basis, but since a user account can contain multiple e-mail addresses (potentially from different domains), it is not possible to use this data to provide per-domain statistics.

To provide a proper stats summary for domains, the domain-default (@domain) user's entry in the maia_stats table should be used. Update this account's stats appropriately whenever mail is assigned to a user account, if the recipient address falls in this domain.

Change History

Changed 7 years ago by Ryan Delany

I would also love to see this feature incorporated. To take it a step further, I want to see the the domain totals include all the stats even if specific users exist for that domain. Currently if you have a user, user@…, their personal stats aren't included if you view the stats for the @domain.com object. I would like the ability to see aggregated stats for a single domain, and aggregated stats for the administrator of multiple domains.

Changed 7 years ago by dmorton

A better step would be to alter stats to be tracked per email address, rather than per maia user. Then maia user stats would be the sum of their address stats, and domain stats would be the sum of all addresses in the domain. Also, this would allow seperate tracking of domain default stats and specfic users within the domain.

Changed 6 years ago by dmorton

  • status changed from new to closed
  • resolution set to fixed
  • milestone changed from 1.0.0 to 1.1.0

This is the whole point behind the 1.1 branch.

Changed 5 years ago by dmorton

  • priority changed from normal to high
  • status changed from closed to reopened
  • resolution fixed deleted
  • severity changed from normal to major
  • patch set to 0

reopening until we merge to trunk

Changed 5 years ago by dmorton

  • status changed from reopened to closed
  • resolution set to fixed

[1129] and such breaks stats apart into per address and can be used to sum

a domain.

Note: See TracTickets for help on using tickets.