Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pstadler/rethinkdb-udp-charts
Real-time charts using RethinkDB changefeeds.
https://github.com/pstadler/rethinkdb-udp-charts
Last synced: 17 days ago
JSON representation
Real-time charts using RethinkDB changefeeds.
- Host: GitHub
- URL: https://github.com/pstadler/rethinkdb-udp-charts
- Owner: pstadler
- License: mit
- Created: 2015-11-16T23:48:50.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-18T12:36:21.000Z (almost 9 years ago)
- Last Synced: 2024-10-06T21:23:08.948Z (about 1 month ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 5
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Real-time charts using RethinkDB changefeeds
This is an experiment using RethinkDB changefeeds to push data via websockets to browser clients. The endpoint for gathering data is a simple UDP listener.
## Setup
```bash
$ npm install# Start RethinkDB
$ rethinkdb
```## Usage
```bash
$ npm start
# Open http://localhost:8080 in a browser# Push metrics to the UDP endpoint, e.g.
$ echo "some_metric=12.34" | nc -u -w0 127.0.0.1 8888
```