Commit 46721e1
Add pprof for profiling (#1033)
* Add pprof for profiling
We have received reports of excessive memory usage for the exporter. Pprof provides a mechanism for users to dump the heap which should provide useful information about what memory has been allocated.
Signed-off-by: Joe Adams <[email protected]>
* Update main.go
Co-authored-by: Ben Kochie <[email protected]>
Signed-off-by: Joe Adams <[email protected]>
---------
Signed-off-by: Joe Adams <[email protected]>
Co-authored-by: Ben Kochie <[email protected]>1 parent 4a54705 commit 46721e1
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
0 commit comments