mirror of
https://github.com/langhuihui/monibuca.git
synced 2025-12-24 13:48:04 +08:00
feat: add pprof
This commit is contained in:
17
plugin/debug/pkg/internal/driver/html/graph.html
Normal file
17
plugin/debug/pkg/internal/driver/html/graph.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{.Title}}</title>
|
||||
{{template "css" .}}
|
||||
{{template "graph_css" .}}
|
||||
</head>
|
||||
<body>
|
||||
{{template "header" .}}
|
||||
<div id="graph">
|
||||
{{.HTMLBody}}
|
||||
</div>
|
||||
{{template "script" .}}
|
||||
<script>viewer(new URL(window.location.href), {{.Nodes}});</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user