mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 21:12:24 -05:00 
			
		
		
		
	[chore] update otel libraries (#3740)
* chore: update otel dependencies * refactor: combine tracing & metrics in observability package * chore: update example tracing compose file
This commit is contained in:
		
					parent
					
						
							
								baed591a1d
							
						
					
				
			
			
				commit
				
					
						dd094e4012
					
				
			
		
					 217 changed files with 6873 additions and 2734 deletions
				
			
		
							
								
								
									
										20
									
								
								vendor/google.golang.org/grpc/keepalive/keepalive.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								vendor/google.golang.org/grpc/keepalive/keepalive.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -34,15 +34,29 @@ type ClientParameters struct { | |||
| 	// After a duration of this time if the client doesn't see any activity it | ||||
| 	// pings the server to see if the transport is still alive. | ||||
| 	// If set below 10s, a minimum value of 10s will be used instead. | ||||
| 	Time time.Duration // The current default value is infinity. | ||||
| 	// | ||||
| 	// Note that gRPC servers have a default EnforcementPolicy.MinTime of 5 | ||||
| 	// minutes (which means the client shouldn't ping more frequently than every | ||||
| 	// 5 minutes). | ||||
| 	// | ||||
| 	// Though not ideal, it's not a strong requirement for Time to be less than | ||||
| 	// EnforcementPolicy.MinTime.  Time will automatically double if the server | ||||
| 	// disconnects due to its enforcement policy. | ||||
| 	// | ||||
| 	// For more details, see | ||||
| 	// https://github.com/grpc/proposal/blob/master/A8-client-side-keepalive.md | ||||
| 	Time time.Duration | ||||
| 	// After having pinged for keepalive check, the client waits for a duration | ||||
| 	// of Timeout and if no activity is seen even after that the connection is | ||||
| 	// closed. | ||||
| 	Timeout time.Duration // The current default value is 20 seconds. | ||||
| 	// | ||||
| 	// If keepalive is enabled, and this value is not explicitly set, the default | ||||
| 	// is 20 seconds. | ||||
| 	Timeout time.Duration | ||||
| 	// If true, client sends keepalive pings even with no active RPCs. If false, | ||||
| 	// when there are no active RPCs, Time and Timeout will be ignored and no | ||||
| 	// keepalive pings will be sent. | ||||
| 	PermitWithoutStream bool // false by default. | ||||
| 	PermitWithoutStream bool | ||||
| } | ||||
| 
 | ||||
| // ServerParameters is used to set keepalive and max-age parameters on the | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue