You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/test
RobertJoonas d2270f3c35
Small bugfix + refactor email reports (#3642)
* use more convenient testing functions

* do not display + sign with 0% change in emails

* Rename module/file/function names

before, `weekly_report` was also used for monthly reports and that was a
bit confusing to read in code.

* Refactor send_email_report.ex

This commit improves readability by refactoring the code into smaller
functions and reducing the number of arguments given to functions.

But more importantly, it stops making duplicate stats queries for every
email recipient by moving the queries out of the for loop.

* Refactor: move querying logic out of the worker module

and merge all stats information under a single `stats` assign.
3 years ago
..
e2e Integrate ingestion monitoring data into instatus (#3515) 3 years ago
load Fix script path for k6 load test (#2068) 4 years ago
plausible Drop events when classified as datacenter IP (#3647) 3 years ago
plausible_web Move limit enforcement to accepting site ownership transfer (#3612) 3 years ago
priv Replace Geolix with Locus (#2362) 4 years ago
support Implement UI for 2FA setup and verification (#3541) 3 years ago
workers Small bugfix + refactor email reports (#3642) 3 years ago
test_helper.exs Remove business tier feature flag (#3632) 3 years ago