watchdog for websites
- simple
- do not store individual requests
thus there is no pre date data - average request processing time
- error rate (e.g. pre 100
200
requests there are 5505
responses. 5% error rate) - average request pre day
- average request size?
- message queue for each project. for verify code logs and ...
- request pre country / show geo ip on map
- total request for each uri
- most used queries: (e.g. ?page=1 ?filter=...)
- request pre date / total request from A to B months or days
- estimate the future requests
- show users using cookie_authorization
- bounce rate
users requests the home page/
then goes to dashboard/dash/
then goes to/dash/orders/
. keep track of time between requests
and the route that users take - top page
- returning visitors
- device type
- landing page conversion rate
when users comes to the home pages. does it gose to any other page?
put this in your websites nginx config (requries upstream)
server {
...
location / {
access_log syslog:server=unix:/usr/share/nginx/socks/heimdall.dog.sock,tag=H,nohostname heimdall;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Client-Ip $remote_addr;
proxy_set_header Host $http_host;
proxy_redirect off;
proxy_pass http://upstream_unix_sock;
}
...
}
put this in /etc/nginx/nginx.conf
http {
...
include /path-to/heimdall/config/format.conf;
...
}