add debug server config for the monolithic boulder

Fixes #482
This commit is contained in:
Jeff Hodges 2015-07-17 12:33:50 -07:00
parent 121613f136
commit 47d9d7376d
3 changed files with 10 additions and 1 deletions

View File

@ -70,7 +70,7 @@ func main() {
blog.SetAuditLogger(auditlogger) blog.SetAuditLogger(auditlogger)
go cmd.DebugServer("localhost:8080") go cmd.DebugServer(c.Monolith.DebugAddr)
// Run StatsD profiling // Run StatsD profiling
go cmd.ProfileCmd("Monolith", stats) go cmd.ProfileCmd("Monolith", stats)

View File

@ -79,6 +79,11 @@ type Config struct {
CA ca.Config CA ca.Config
Monolith struct {
// DebugAddr is the address to run the /debug handlers on.
DebugAddr string
}
RA struct { RA struct {
// DebugAddr is the address to run the /debug handlers on. // DebugAddr is the address to run the /debug handlers on.
DebugAddr string DebugAddr string

View File

@ -105,6 +105,10 @@
} }
}, },
"monolith": {
"debugAddr": "localhost:8008"
}
"ra": { "ra": {
"debugAddr": "localhost:8002" "debugAddr": "localhost:8002"
}, },