@taotiejs/server

0.5.6 • Public • Published

Taotie Server

npm npm downloads license

github

Log collecting and querying based on pinojs and clickhouse.

Installation

npm install @taotiejs/server -g

Usage

taotie [options]

Options:
  -V, --version                      output the version number
  -d, --db-host <hostname>           clickhouse host (default: "127.0.0.1")
  -P, --db-port <port>               clickhouse port (default: 80)
  -a, --db-auth <username:password>  clickhouse username and password
  -n, --db-name <database>           clickhouse database name (default: "taotie")
  -H, --http <port>                  HTTP server port (default: 80)
  -U, --udp <port>                   UDP log receiver port (default: 514)
  -i --interval <second>             save logs interval (default: 5)
  -I --data-skipping-indices         enable clickhouse data skipping indices
  -D, --dev                          development mode
  -h, --help                         output usage information

Logger

You may use @taotiejs/logger for logging.

Package Sidebar

Install

npm i @taotiejs/server

Weekly Downloads

9

Version

0.5.6

License

MIT

Unpacked Size

31.7 kB

Total Files

14

Last publish

Collaborators

  • cweili