https://github.com/rongfengliang/honest-profiler-hprof2flamegraph
honest-profiler-hprof2flamegraph learning
https://github.com/rongfengliang/honest-profiler-hprof2flamegraph
docker docker-compose flame-graph honest-profiler prometheus spring-boot
Last synced: 3 months ago
JSON representation
honest-profiler-hprof2flamegraph learning
- Host: GitHub
- URL: https://github.com/rongfengliang/honest-profiler-hprof2flamegraph
- Owner: rongfengliang
- Created: 2020-01-02T01:53:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-01-31T08:02:57.000Z (over 2 years ago)
- Last Synced: 2025-10-07T19:56:47.878Z (9 months ago)
- Topics: docker, docker-compose, flame-graph, honest-profiler, prometheus, spring-boot
- Language: Shell
- Size: 38.2 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# honest-profiler + hprof2flamegraph for java flame graph
## how to running
* build docker image
```code
docker-compose build
```
* start docker-compose service
```code
docker-compose up -d
```
* install hprof2flamegraph pip package
> with python venv module && python 3
```code
cd hprof2flamegraph
python -m venv venv
source venv/bin/activate
pip install hprof2flamegraph
```
* generate stackcollapse
> use hprof2flamegraph && in hprof2flamegraph dir
```code
hprof2flamegraph/venv/bin/stackcollapse-hpl logs/log.hpl > out/output-folded.txt
```
* generate flame graph
```code
hprof2flamegraph/venv/bin/flamegraph.pl out/output-folded.txt > out/output.svg
```
* view result
```code
open svg image
```