anchor.diff:  
   The Loggregator agent forwards app logs, errors, and metrics to the Cloud Foundry Loggregator. For more information, see the [Application Logging in Cloud Foundry](../../devguide/deploy-apps/streaming-logs.html) topic.
   
  -![An arrow from an unlabeled box inside a box labeled "garden" points to a box labeled "loggregator-agent". This indicates that the container running the app inside the garden process of the diego-cell VM emits logs to the loggregator-agent process of the diego-cell VM. An arrow from "loggregator-agent" points to a box labeled "doppler", and from "doppler" to a box labeled "traffic-controller" to indicate the where logs are sent.](../images/oss-diego-architecture-6.png)
  +![An arrow from an unlabeled box inside a box labeled "garden" points to a box labeled "loggregator-agent". This indicates that the container running the app inside the garden process of the diego-cell VM emits logs to the loggregator-agent process of the diego-cell VM. An arrow from loggregator-agent points to a box labeled "doppler", and from doppler to a box labeled "traffic-controller" to indicate the where logs are sent.](../images/oss-diego-architecture-6.png)
   [//]: https://docs.google.com/drawings/d/1ChpsoNXR-zHC2n9bPz2H5qdRvkDfg_M4I8sVr-Vy3So/edit?usp=sharing
   
   ## <a id='components'></a> Diego Components
  
positive.code: 
  The Cloud Controller passes requests to run apps to the Diego BBS, which stores information about the request in its database. 
  
  ![Several boxes represent the VMs involved in running an app with Diego. They have additional boxes within them to represent the components running on each VM. The boxes are as follows: the api VM includes the cloud_controller_ng process, the scheduler VM includes the auctioneer process, the diego-api VM includes the bbs process, the pxc-mysql VM includes the bbs db, the diego-cell VM includes the rep, loggregator-agent, garden, and route-emitter processes, the singleton-blobstore VM includes the droplets store, the doppler VM includes the doppler process, the log-api VM includes the traffic-controller process, and the gorouter VM includes the gorouter process. An arrow points from the box labeled "cloud_controller_ng" to the box labeled "bbs" to indicate that the cloud_controller_ng process is sending a request to run an app to the bbs process. Another arrow points from the box labeled "bbs" to the cylinder labeled "bbs db" to indicate that the request gets stored in a database.](../images/oss-diego-architecture-1.png)
  [//]: https://docs.google.com/drawings/d/1p2ShJ8yJ3gVzKBh1sw1b_O8qMASXMzC37r2MU3L4xmI/edit?usp=sharing
  
  ###<a id='step-2'></a> Passes Request to the Auctioneer Process
  
  The BBS contacts the Auctioneer to create an auction based on the desired resources for the app. It references the information stored in its database. 
  
  ![An arrow points from a box labeled "bbs" to a cylinder labeled "bbs db" to indicate the bbs process is receiving information from its database. Another arrow points from the box labeled "bbs" to a box labeled "auctioneer" to indicate the bbs process is contacting the auctioneer process to create an auction.](../images/oss-diego-architecture-2.png)
  [//]: https://docs.google.com/drawings/d/1P_aSBm6fyHeqJyZ-8epM_CePS3u8O_GLTSzW-g1-32U/edit?usp=sharing
  
  
  
negative.code: 
  The in-process Executor creates a Garden container in the Diego cell. Garden downloads the droplet that resulted from the staging process and runs the app in the container. 
  
  ![An arrow points from a box labeled "executor" to an unlabeled box inside of a box labeled "garden". This indicates that the executor sub-process of the rep process on the diego-cell VM communicates to the garden process on the diego-cell VM to create a new container. Another arrow points from garden to a cylinder labeled "droplets" to indicate that the garden process also communicates with the droplets bucket on the singleton-blobstore VM to download the droplet.](../images/oss-diego-architecture-4.png)
  [//]: https://docs.google.com/drawings/d/1IPLl2bKmR9iYOhjXvlRZJSvCeCnoaX_zqARdt04Yjv4/edit?usp=sharing
  
  ###<a id='step-5'></a> Emits Route for App
  