0.9.2 • Published 1 year ago

alluvium v0.9.2

Weekly downloads
56
License
ISC
Repository
github
Last release
1 year ago

alluvium

Time-series analytics for static web servers.

Goals

  • show number of requests over time (granular to the day)
  • show response status codes by volume (200, 301, 304, 404, 401, etc)
  • show number of requests by device type (desktop, mobile, tablet, tv, etc)
  • show top referrer for each endpoint

alluvium.createClient(cfg)

var alluvium = require("alluvium").createClient()

alluvium.write(data ,callback)

alluvium.write({
  "domain": "sintaxi.com",
  "path": "/",
  "status": 200,
  "device": "phone",
  "method": "get",
  "referrer": null
})

alluvium.read(domain, options, callback)

alluvium.read("sintaxi.com", function(results){
  console.log(results)

  // returns...

  { version: '0.1.0', range: '2015-3-18', totals:
   { statuses: { '200': 152, '304': 520, '404': 76 },
     visits:
      { '/about': 216,
        '/contact': 152,
        '/blog/hi': 152,
        '/': 152,
        '/not-exist': 76 },
     devices: { phone: 368, desktop: 304, tablet: 76 } } }
})
0.9.2

1 year ago

0.8.4

3 years ago

0.9.0

3 years ago

0.9.1

3 years ago

0.8.3

3 years ago

0.8.1

3 years ago

0.8.0

3 years ago

0.8.2

3 years ago

0.7.14

3 years ago

0.7.13

3 years ago

0.7.12

3 years ago

0.7.11

3 years ago

0.7.10

3 years ago

0.7.9

3 years ago

0.7.8

3 years ago

0.7.7

3 years ago

0.7.6

3 years ago

0.7.5

3 years ago

0.7.4

3 years ago

0.7.3

3 years ago

0.7.2

3 years ago

0.7.1

3 years ago

0.7.0

3 years ago

0.6.3

3 years ago

0.6.2

3 years ago

0.6.4

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago