Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 936 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 936 Bytes

[WIP] Grafana Flamegraph Panel

Building plugin

npm install
npm dev
npm build

Building flame graphs

Flame Graph Example

Please read Brendan Gregg's post

Demo

Grafana live demo

To generate metrics on the "demo" service (docker samber/node-promfiler-demo), a cronjob executes requests on API regulary.

You will see some pow() calls in the graph.

Live profiling

Prometheus + NodeJS

Prometheus exporter: Promfiler

$ npm install -g promfiler
$ promfiler app.js

Credits

This Grafana panel is based on the great library d3-flamegraph, wrote by Spiermar. 👏 👏