-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from SuperQ/add-pprof
Add pprof
- Loading branch information
Showing
5 changed files
with
95 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,12 @@ | ||
module github.com/superq/smokeping_prober | ||
|
||
require ( | ||
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc // indirect | ||
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf // indirect | ||
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 // indirect | ||
github.com/gogo/protobuf v1.1.1 // indirect | ||
github.com/golang/protobuf v1.2.0 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect | ||
github.com/prometheus/client_golang v0.9.1 | ||
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910 // indirect | ||
github.com/prometheus/common v0.0.0-20181020173914-7e9e6cabbd39 | ||
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d // indirect | ||
github.com/sirupsen/logrus v1.2.0 // indirect | ||
github.com/sparrc/go-ping v0.0.0-20190604181555-e33cfb8ae7ed | ||
golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc // indirect | ||
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f // indirect | ||
golang.org/x/sys v0.0.0-20180906133057-8cf3aee42992 // indirect | ||
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect | ||
github.com/prometheus/client_golang v1.0.0 | ||
github.com/prometheus/common v0.6.0 | ||
github.com/sirupsen/logrus v1.4.2 // indirect | ||
github.com/sparrc/go-ping v0.0.0-20190613174326-4e5b6552494c | ||
golang.org/x/net v0.0.0-20190620200207-3b0461eec859 // indirect | ||
golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0 // indirect | ||
gopkg.in/alecthomas/kingpin.v2 v2.2.6 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ import ( | |
"fmt" | ||
"math" | ||
"net/http" | ||
_ "net/http/pprof" | ||
"strconv" | ||
"strings" | ||
"time" | ||
|