analytics/lib/plausible_web
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
..
components Use sessionStorage for "dashboard first launch" banner tracking (#3892) 2024-03-26 09:49:15 +01:00
controllers Improve import procedure to ensure no time range overlaps (#3970) 2024-04-04 18:56:36 +02:00
live Improve import procedure to ensure no time range overlaps (#3970) 2024-04-04 18:56:36 +02:00
mjml Small bugfix + refactor email reports (#3642) 2023-12-21 12:56:06 +00:00
plugins/api Plugins API: mark data_domain as nullable in capabilities schema (#3840) 2024-02-28 10:26:01 +01:00
plugs Add GET /capabilities to Plugins API (#3808) 2024-02-21 12:41:56 +01:00
templates Improve import procedure to ensure no time range overlaps (#3970) 2024-04-04 18:56:36 +02:00
two_factor Implement UI for 2FA setup and verification (#3541) 2023-12-06 12:01:19 +01:00
views Reapply 3918 (#3940) 2024-03-25 10:36:22 +01:00
captcha.ex Include tests for Captcha success/failure scenarios (#2344) 2022-10-17 08:16:59 -03:00
email.ex Add multiple imports per site (#3724) 2024-02-14 09:32:36 +01:00
endpoint.ex Include query string when logging the request (#3971) 2024-04-08 09:29:11 +03:00
refinspector.ex Store referrers from android apps (#3715) 2024-03-21 17:45:34 +02:00
remote_ip.ex IP Block List (#3761) 2024-02-12 14:55:20 +01:00
router.ex CSV imports (UI) (#3845) 2024-03-26 12:55:14 +01:00