{"repo":"rs/jplot","free":true,"listed":false,"github":"https://github.com/rs/jplot","clone":"git clone https://github.com/rs/jplot.git","description":"iTerm2 expvar/JSON monitoring tool","language":"Go","stars":1178,"topics":["golang","monitoring","cli","expvars","jplot","memstats","iterm2","json"],"license":"MIT","category":"analytics","readme_excerpt":"jplot Jplot tracks expvar-like (JSON) metrics and plot their evolution over time right into your iTerm2, Kitty terminal, or terminals with DRCS Sixel Graphics support. Above capture is jplot monitoring a Go service's expvar: By default, jplot uses the full size of the terminal, but it is possible to limit the render to a few rows: Install Using homebrew: From source: This tool works with iTerm2, Kitty, Warp, or terminals that support DRCS Sixel Graphics. Usage Given the following JSON output: You can graph the number of thread over time: Or create a graph with both Utime and Stime growth rate on the same axis by using + between two field paths: Note: the counter: prefix instructs jplot to compute the difference between the values instead of showing their absolute value. Or create several graphs by providing groups of fields as separate arguments; each argument creates a new graph: Spec Syntax Each positional arguments given to jplot create a stacked graph with the specified values. To reference the values, use gojq JSON query syntax. Several value paths can be referenced for the same graph by using the + character to separate them. In addition, each value path can be prefixed with options separated from the path by a column. Several options can be used for the same command by separating them with a comma like so: option1,option2:value.path . Supported options are: counter : Computes the difference with the last value. The value must increase monotonically. marker : When the v","default_branch":null,"files":null,"tree":[],"storefront":"/r/rs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rs/jplot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}