func (r Resources) Observe(name string, value float64) {
	if r.Monitor != nil {
		r.Monitor.Observe(name, value)
	}
}
Observe calls Monitor.Observe if Logger is not nil.
package external
type Resources struct {
	Logger  Logger
	Monitor Monitor
}
func (r Resources) Infow(msg string, keyvals ...interface{}) {
	if r.Logger != nil {
		r.Logger.Infow(msg, keyvals...)
	}
}
func (r Resources) Errorw(msg string, keyvals ...interface{}) {
	if r.Logger != nil {
		r.Logger.Errorw(msg, keyvals...)
	}
}