Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Latest commit

 

History

History
30 lines (17 loc) · 878 Bytes

README.md

File metadata and controls

30 lines (17 loc) · 878 Bytes

[WIP] Grafana Flamegraph Panel

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