Documentation
¶
Overview ¶
Pulse is a stat collecting and publishing service. It serves historical stats over an http api while live stats are sent to mist for live updates.
Usage ¶
To start pulse as a server, simply run (with influx running locally):
pulse -s
For more specific usage information, refer to the help doc `pulse -h`:
Usage: pulse [flags] Flags: -a, --aggregate-interval int Interval at which stats are aggregated (default 15) -c, --config-file string Config file location for server -C, --cors-allow string Sets the 'Access-Control-Allow-Origin' header (default "*") -H, --http-listen-address string Http listen address (default "127.0.0.1:8080") -i, --influx-address string InfluxDB server address (default "http://127.0.0.1:8086") -I, --insecure Run insecure (default true) -k, --kapacitor-address string Kapacitor server address (http://127.0.0.1:9092) -l, --log-level string Level at which to log (default "INFO") -m, --mist-address string Mist server address -M, --mist-token string Mist server token -p, --poll-interval int Interval to request stats from clients (default 60) -s, --server Run as server -S, --server-listen-address string Server listen address (default "127.0.0.1:3000") -t, --token string Security token (recommend placing in config file) (default "secret") -v, --version Print version info and exit
Directories
¶
Path | Synopsis |
---|---|
Package api provides a restful interface to view aggregated stats as well as manage alerts.
|
Package api provides a restful interface to view aggregated stats as well as manage alerts. |
Package influx provides the backend for storing stats.
|
Package influx provides the backend for storing stats. |
Package kapacitor provides the means for alerting if a stat exceeds a threshold.
|
Package kapacitor provides the means for alerting if a stat exceeds a threshold. |
Package plexer provides the means to live publish or store stats.
|
Package plexer provides the means to live publish or store stats. |
Package provides the client the ability to connect to pulse and add metrics/stats to be collected.
|
Package provides the client the ability to connect to pulse and add metrics/stats to be collected. |
Package server handles the tcp socket api for interacting with clients(relays).
|
Package server handles the tcp socket api for interacting with clients(relays). |
Click to show internal directories.
Click to hide internal directories.