Skip to content

00-team/heimdall

Repository files navigation

heimdall

watchdog for websites

Roadmap

Version 1

  1. simple
  2. do not store individual requests
    thus there is no pre date data
  3. average request processing time
  4. error rate (e.g. pre 100 200 requests there are 5 505 responses. 5% error rate)
  5. average request pre day
  6. average request size?
  7. message queue for each project. for verify code logs and ...

Future

  1. request pre country / show geo ip on map
  2. total request for each uri
  3. most used queries: (e.g. ?page=1 ?filter=...)
  4. request pre date / total request from A to B months or days
  5. estimate the future requests
  6. show users using cookie_authorization
  7. 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
  8. top page
  9. returning visitors
  10. device type
  11. landing page conversion rate
    when users comes to the home pages. does it gose to any other page?

Usage

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;

    ...
}

Releases

No releases published

Packages

No packages published