@@ -91,10 +91,12 @@ func New(ctx context.Context, config *Config) (*Observer, error) {
if err != nil {
return nil, newError("Cannot get depended features").Base(err)
}
+ hp := NewHealthPing(ctx, config.PingConfig)
return &Observer{
config: config,
ctx: ctx,
ohm: outboundManager,
+ hp: hp,
}, nil