mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	sentry: Downsample typing spans.
These can come fast and furious, and are not worth reporting all of. Like presence reporting, we leave a small percentage of them for network and endpoint latency information.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							6a3f97ba80
						
					
				
				
					commit
					b20aeadcb8
				
			@@ -69,6 +69,7 @@ if (page_params.server_sentry_dsn) {
 | 
			
		||||
        ["call GET /json/events", 0],
 | 
			
		||||
        // These requests are high-volume and do not add much data
 | 
			
		||||
        ["call POST /json/users/me/presence", 0.01],
 | 
			
		||||
        ["call POST /json/typing", 0.05],
 | 
			
		||||
    ]);
 | 
			
		||||
 | 
			
		||||
    Sentry.init({
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user