Coder Social home page Coder Social logo

fxserver-perf-monitor's Introduction

FXServer Performance Monitor

License: CC BY-NC-SA 4.0  

Collect and display (using D3.js) the performance of an FXServer.

Foot Note... ish

I wrote some code to help me build the heatmap for txAdmin, but it ended up acceptable so why not share it?!
I do not have the intention to update this repository... unless some people find it useful.
Also I am fully aware that I could use Grafana for this, but it wouldn't work for txAdmin.

Here's the grafana query:

histogram_quantile(0.95, sum(rate(tickTime_bucket[5m])) by (le))

Here is an example of the data we are scraping (svMain only):

# HELP tickTime Time spent on server ticks
# TYPE tickTime histogram
tickTime_count{name="svMain"} 873550
tickTime_sum{name="svMain"} 242.026000
tickTime_bucket{name="svMain",le="0.005000"} 873534
tickTime_bucket{name="svMain",le="0.010000"} 873538
tickTime_bucket{name="svMain",le="0.025000"} 873547
tickTime_bucket{name="svMain",le="0.050000"} 873548
tickTime_bucket{name="svMain",le="0.075000"} 873548
tickTime_bucket{name="svMain",le="0.100000"} 873548
tickTime_bucket{name="svMain",le="0.250000"} 873549
tickTime_bucket{name="svMain",le="0.500000"} 873550
tickTime_bucket{name="svMain",le="0.750000"} 873550
tickTime_bucket{name="svMain",le="1.000000"} 873550
tickTime_bucket{name="svMain",le="2.500000"} 873550
tickTime_bucket{name="svMain",le="5.000000"} 873550
tickTime_bucket{name="svMain",le="7.500000"} 873550
tickTime_bucket{name="svMain",le="10.000000"} 873550
tickTime_bucket{name="svMain",le="+Inf"} 873550

References:

The one with the rows in groups
https://observablehq.com/@sjengle/zillow-affordability-heatmap

Vega library
https://observablehq.com/@andreaskdk/song-tempo-heatmap

Colors!
https://github.com/d3/d3-scale-chromatic/blob/v2.0.0/README.md#schemeCategory10

fxserver-perf-monitor's People

Contributors

tabarra avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.