func MonitorPoller(ctx context.Context) (types.PodStatus, error) {
	logger := log.WithFields(log.Fields{
		"func": "monitor.MonitorPoller",
	})
	logger.Println("====================Pod Monitor Poller====================")
	name := config.GetConfig().GetString("podMonitor.monitorName")
	monitor := plugin.Monitors.Lookup(name)
	if monitor == nil {
		return types.POD_FAILED, errors.Errorf("monitor plugin %s doesn't exist", name)
	}
	return monitor.Start(ctx)
}
MonitorPoller inspects pod status periodically
package monitor
import (
	"context"
	"github.com/paypal/dce-go/config"
	"github.com/paypal/dce-go/plugin"
	"github.com/paypal/dce-go/types"
	"github.com/pkg/errors"
	log "github.com/sirupsen/logrus"
)