Slide 37
Slide 37 text
pprof の出力を読むために pprof デコーダを実装
26
Pyroscope との連携
{
"location": [
{
"mapping": null,
"address": 0,
"line": [
{
"function": {
"name": "execute",
"system_name": "",
"filename": "",
"start_line": 0
},
"line": 0
}
],
"is_folded": false
},
...,
],
"value": [
10000000
],
"label": [
{
"key": "xhprof_info",
"str": "SELECT `id`, `user_id`, `body`, `mime`, `created_at`...",
"num": 0,
"num_unit": ""
}
]
}
sample {
location_id: 1
location_id: 2
location_id: 3
location_id: 4
location_id: 5
location_id: 5
location_id: 6
location_id: 7
location_id: 5
location_id: 8
location_id: 9
location_id: 10
value: 10000000
label {
key: 14
str: 15
}
}