Giter Club home page Giter Club logo

esstatic's Introduction

Esstatic

A command line utility to quickly view EventStore stats files in spreadsheets.

When run, esstatic reads stats files, produces a table of data, and stores it in the clip board. Paste into one of the provided spreadsheets for instant graphs.

Features

  • samples 200 stats entries across the collection of matching stats files
  • select which stats files using the include/exclude glob patterns
  • use test mode to output which files match the glob patterns
  • use json paths to query the stats entries. aggregate and format.
  • skip/take percent entries from the stats files for quick range selection

Getting started

  1. cd to directory
PS C:\Users\timot> cd .\Downloads\qa-logs\TestRun1-node-3\
  1. Run esstatic (provide path to esstatic if it isn't in your path)
PS C:\Users\timot\Downloads\qa-logs\TestRun1-node-3> esstatic

Arguments:
  dir: .
  include: **/*stats*.json
  exclude:
  skip: 0
  take: 100
  test: False

Reading C:\Users\timot\Downloads\qa-logs\TestRun1-node-3\log-stats20211029.json... Done!
Querying... Done!
Copying 109,109 chars to clipboard... Done!
  1. Paste into cell A1 of the spreadsheet and view results

Sample graphs

TODO

  • be able to specify a particular json path on the command line
  • be able to specify a different pre-defined set of json paths on the command line
  • more predefined json paths
  • add license
  • file output?
  • ...

esstatic's People

Contributors

timothycoleman avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.