Skip to content

Commit 347beb8

Browse files
committed
Skip assets and health checks in analytics config
1 parent 199f031 commit 347beb8

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

config/request-analytics.php

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,40 @@
3838
env('REQUEST_ANALYTICS_PATHNAME', 'analytics'),
3939
'broadcasting/auth',
4040
'livewire/*',
41+
// Asset files
42+
'assets/*',
43+
'build/*',
44+
'storage/*',
45+
'*.css',
46+
'*.js',
47+
'*.map',
48+
'*.png',
49+
'*.jpg',
50+
'*.jpeg',
51+
'*.gif',
52+
'*.svg',
53+
'*.ico',
54+
'*.webp',
55+
'*.woff',
56+
'*.woff2',
57+
'*.ttf',
58+
'*.eot',
59+
// Common files
60+
'favicon.ico',
61+
'robots.txt',
62+
'sitemap.xml',
63+
'manifest.json',
64+
'sw.js',
65+
'service-worker.js',
66+
// Health checks and monitoring
67+
'health',
68+
'ping',
69+
'status',
70+
'up',
71+
// API documentation
72+
'docs/*',
73+
'swagger/*',
74+
'redoc/*',
4175
],
4276

4377
'skip_ips' => [

0 commit comments

Comments
 (0)