agent factory observability tips