A flask component to visualize the contents of a tshistory time series repository.
search: nicer style for the search results
formula/view: shorter name for Html.events
formula/plot: fix display of the plot in the right tab

heads

default
browse log
0.10.0
browse .tar.gz

clone

read-only
https://hg.sr.ht/~pythonian/tsview
read/write
ssh://hg@hg.sr.ht/~pythonian/tsview

TSVIEW

This is a tshistory plugin which provides a view subcommand to the tsh command.

It works like this:

$ tsh view postgres://babar:celeste@data_server:5432/
  * Running on http://192.168.56.1:5678/ (Press CTRL+C to quit)
 192.168.56.1 - - [16/Jun/2017 17:23:25] "GET /tsview HTTP/1.1" 200 -
 192.168.56.1 - - [16/Jun/2017 17:23:25] "GET /tsplot? HTTP/1.1" 200 -

At the same time, a browser tab opens, and we can select some series:

For each series we can get it complete history (its versions at a given date range):

This applies also to formulas if you use tshistory_formula !

We also get a browser for the whole history log, by a slight modification of the url, from http://192.168.56.1:5678/tsview to http://192.168.56.1:5678/tsviewlog: