Answers: <p>Deployment slots share the same resources. The percentage of CPU used is what is taken by all slots combined.
  After a swap, it should still monitor the production slot.</p>
  
Answers: CC BY-SA 4.0
Answers: 2019-07-13T19:53:16.087Z
Answers: But what about conne tions, handles etc? Is those still monitored on the production slot?
Answers: mslot
Answers: CC BY-SA 4.0
Answers: 2019-07-13T20:03:04.793Z
Answers: Everything on the app service plan is shared, everything on the app service itself is not. Connections are measured on the app service and thus measured per slot.
  After a swap the monitor is pointing to the actual slot that handles the production load.
Answers: Jacco
Answers: CC BY-SA 4.0
Answers: 2019-07-13T20:22:41.967Z
Answers: yes. Cpu time is pr app service. Cpu usage is pr webplan etc. Where can I read that it always monitor production slot?
Answers: mslot
Answers: CC BY-SA 4.0
Answers: 2019-07-13T19:46:50.997Z
Answers: 2019-07-13T19:46:50.997Z
Answers: Jacco
Body: <p>My question is actually quite simple: if I have a webapp with a deployment slot and a monitor that checks the health of webapp in some way (connections, cpu time or the like) , if I do a swap, what is the monitor watching? The new webapp or the old?</p>
  
  <p>I would like to think it is always watching the current production slot, but I can't find it in the docs. </p>
  
Tags: <azure><monitoring>
Title: Azure monitor and deployment slots
UserDisplayName: mslot
ThreadText: # Azure monitor and deployment slots
  
  (Asked by: username_0 on 2019-07-13)
  
  My question is actually quite simple: if I have a webapp with a deployment slot and a monitor that checks the health of webapp in some way (connections, cpu time or the like) , if I do a swap, what is the monitor watching? The new webapp or the old?
  
  I would like to think it is always watching the current production slot, but I can't find it in the docs.
  
  **Tags:** azure, monitoring
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-07-13. Score: 0 | Accepted answer
  
  Deployment slots share the same resources. The percentage of CPU used is what is taken by all slots combined.
  After a swap, it should still monitor the production slot.
  
  > **Comments:**
  > **username_0**: But what about conne tions, handles etc? Is those still monitored on the production slot?  
  > **username_1**: Everything on the app service plan is shared, everything on the app service itself is not. Connections are measured on the app service and thus measured per slot. After a swap the monitor is pointing to the actual slot that handles the production load.  
  > **username_0**: yes. Cpu time is pr app service. Cpu usage is pr webplan etc. Where can I read that it always monitor production slot?  
  
  ---
  
  