This is a sample application of running a backend for a Grafana simple json datasource.
$ go get github.com/smcquay/jsonds
$ jsonds
You can specify a number of options, as listed in the -help
, for example:
# emit new events every 10 seconds
$ jsonds -period 10s
# start with 30 existing events
$ jsonds -hist 30