Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cmd/boulder-observer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ func main() {
cmd.FailOnError(err, "config failed validation")
}

defer cmd.AuditPanic()

// Start the `Observer` daemon.
obs.Start()
}
Expand Down
2 changes: 1 addition & 1 deletion observer/mon_conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
// MonConf is exported to receive YAML configuration in `ObsConf`.
type MonConf struct {
Period config.Duration `yaml:"period"`
Kind string `yaml:"kind" validate:"required,oneof=DNS HTTP CRL TLS AIA"`
Kind string `yaml:"kind" validate:"required,oneof=DNS HTTP CRL TLS AIA CCADB"`
Settings probers.Settings `yaml:"settings" validate:"min=1,dive"`
}

Expand Down
1 change: 0 additions & 1 deletion observer/obs_conf.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ func (c *ObsConf) MakeObserver() (*Observer, error) {
}, []string{"name", "kind", "success"})
metrics.MustRegister(countMonitors)
metrics.MustRegister(histObservations)
defer cmd.AuditPanic()
cmd.LogStartup(logger)
logger.Infof("Initializing boulder-observer daemon")
logger.Debugf("Using config: %+v", c)
Expand Down
1 change: 1 addition & 0 deletions observer/observer.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"github.com/letsencrypt/boulder/cmd"
blog "github.com/letsencrypt/boulder/log"
_ "github.com/letsencrypt/boulder/observer/probers/aia"
_ "github.com/letsencrypt/boulder/observer/probers/ccadb"
_ "github.com/letsencrypt/boulder/observer/probers/crl"
_ "github.com/letsencrypt/boulder/observer/probers/dns"
_ "github.com/letsencrypt/boulder/observer/probers/http"
Expand Down
Loading