Flame graphs are a visualization of profiled software, allowing the most frequent code-paths to be identified quickly and accurately. This Grafana Data Source Backend Plugin allows to visualize frequent code-paths over time.
A data source backend plugin consists of both frontend and backend components. To build both on dev mode you can simply:
git clone https://github.com/codeperfio/grafana-flame-graph
cd grafana-flame-graph
yarn start:dev
To stop dev mode you can simply:
yarn stop:dev
- Install dependencies
yarn install
- Build plugin in development mode or run in watch mode
yarn dev
or
yarn watch
- Build plugin in production mode
yarn build
- Build backend plugin binaries for Linux:
yarn build:backend
- List all available Mage targets for additional commands:
mage -l