analytics/lib
Karl-Aksel Puulmann acbbaa9116
Include query string when logging the request (#3971)
* Update request logging

Ultimate goal is to be able to compare results with and without a flag against each other.
To do this we need logging which displays the full request url with parameters.

Example logs:
```
14:46:09.042 request_id=F8MRLSsaKB7BeIkAAAHk [info] (200) GET /api/sites took 17ms
14:46:09.175 request_id=F8MRLTKYV3G-GqEAAAZB [info] (200) GET /api/stats/dummy.site/current-visitors took 24ms
14:46:09.396 request_id=F8MRLUDfav28LIkAAAIE [info] (202) POST /api/event took 5ms
14:46:09.501 request_id=F8MRLUDS_YhftUkAAAAD [info] (200) GET /api/stats/dummy.site/sources?period=30d&date=2024-04-04&filters=%7B%7D&with_imported=true&limit=9 took 111ms
14:46:09.508 request_id=F8MRLUDhHbK8WKUAAAah [info] (200) GET /api/stats/dummy.site/main-graph?period=30d&date=2024-04-04&filters=%7B%7D&with_imported=true&metric=visitors took 117ms
14:46:09.511 request_id=F8MRLUDS1CYntK4AAAaB [info] (200) GET /api/stats/dummy.site/entry-pages?period=30d&date=2024-04-04&filters=%7B%7D&with_imported=true&limit=9 took 121ms
14:46:09.541 request_id=F8MRLTk5sIPYSn4AABoC [info] (200) GET /api/stats/dummy.site/top-stats?period=30d&date=2024-04-04&filters=%7B%7D&with_imported=true&comparison=previous_period&compare_from=undefined&compare_to=undefined&match_day_of_week=true took 278ms
```

* re-add plug

* router_dispatch -> endpoint
2024-04-08 09:29:11 +03:00
..
mix/tasks Filter by hostnames (#3963) 2024-04-04 10:48:30 +02:00
plausible Include query string when logging the request (#3971) 2024-04-08 09:29:11 +03:00
plausible_web Include query string when logging the request (#3971) 2024-04-08 09:29:11 +03:00
workers Include domain and dates in zip archive filename (#3921) 2024-03-21 11:35:42 +01:00
oban_error_reporter.ex safe(r) Oban telemetry (#3743) 2024-02-14 10:12:03 +01:00
plausible_release.ex Remove custom domains support + update build options (#3559) 2023-11-29 11:04:54 +01:00
plausible_web.ex Merge Plugins.API.Router into main one (#3767) 2024-02-12 10:44:32 +01:00
plausible.ex Remove custom domains support + update build options (#3559) 2023-11-29 11:04:54 +01:00
sentry_filter.ex Update Sentry (#3843) 2024-03-18 10:10:20 +01:00