Releases: micro-analytics/adapter-redis
Releases · micro-analytics/adapter-redis
v1.0.0
Features
Support for realtime events
Add support for subscribe()
which enables the server-sent events based realtime feed. Read more about it in the live-updates section of micro-analytics-cli documentation. It uses redis pub/sub under the hood making it work across different instances.
Bugfixes
Upgraded ioredis
to version 3.1.1, which contains a few bug fixes.
v0.4.0
Add support for cli options
$ micro-analytics --adapter redis --help
Usage: micro-analytics [options] [command]
Commands:
help Display help
Options:
-a, --adapter [value] Database adapter used (defaults to "flat-file-db")
-d, --db-config [value] Redis connection string or ioredis compatible JSON object. Environment variable: MAA_REDIS_DB_CONFIG (defaults to "redis://localhost:6379")
-h, --hash-key [value] Hash key for the redis hash to store all the data in. Environment variable: MAA_REDIS_DB_CONFIG (defaults to "micro-analytics")
-H, --help Output usage information
-H, --host [value] Host to listen on (defaults to "0.0.0.0")
-p, --port <n> Port to listen on (defaults to 3000)
-v, --version Output the version number