mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 10:42:24 -05:00 
			
		
		
		
	[chore]: Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc (#2818)
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) from 1.24.0 to 1.25.0. - [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.24.0...v1.25.0) --- updated-dependencies: - dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								db2dcc3455
							
						
					
				
			
			
				commit
				
					
						c097745c38
					
				
			
		
					 286 changed files with 4546 additions and 16869 deletions
				
			
		
							
								
								
									
										9
									
								
								vendor/google.golang.org/grpc/internal/binarylog/method_logger.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										9
									
								
								vendor/google.golang.org/grpc/internal/binarylog/method_logger.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -25,11 +25,12 @@ import ( | |||
| 	"sync/atomic" | ||||
| 	"time" | ||||
| 
 | ||||
| 	"github.com/golang/protobuf/proto" | ||||
| 	"github.com/golang/protobuf/ptypes" | ||||
| 	binlogpb "google.golang.org/grpc/binarylog/grpc_binarylog_v1" | ||||
| 	"google.golang.org/grpc/metadata" | ||||
| 	"google.golang.org/grpc/status" | ||||
| 	"google.golang.org/protobuf/proto" | ||||
| 	"google.golang.org/protobuf/types/known/durationpb" | ||||
| 	"google.golang.org/protobuf/types/known/timestamppb" | ||||
| ) | ||||
| 
 | ||||
| type callIDGenerator struct { | ||||
|  | @ -88,7 +89,7 @@ func NewTruncatingMethodLogger(h, m uint64) *TruncatingMethodLogger { | |||
| // in TruncatingMethodLogger as possible. | ||||
| func (ml *TruncatingMethodLogger) Build(c LogEntryConfig) *binlogpb.GrpcLogEntry { | ||||
| 	m := c.toProto() | ||||
| 	timestamp, _ := ptypes.TimestampProto(time.Now()) | ||||
| 	timestamp := timestamppb.Now() | ||||
| 	m.Timestamp = timestamp | ||||
| 	m.CallId = ml.callID | ||||
| 	m.SequenceIdWithinCall = ml.idWithinCallGen.next() | ||||
|  | @ -178,7 +179,7 @@ func (c *ClientHeader) toProto() *binlogpb.GrpcLogEntry { | |||
| 		Authority:  c.Authority, | ||||
| 	} | ||||
| 	if c.Timeout > 0 { | ||||
| 		clientHeader.Timeout = ptypes.DurationProto(c.Timeout) | ||||
| 		clientHeader.Timeout = durationpb.New(c.Timeout) | ||||
| 	} | ||||
| 	ret := &binlogpb.GrpcLogEntry{ | ||||
| 		Type: binlogpb.GrpcLogEntry_EVENT_TYPE_CLIENT_HEADER, | ||||
|  |  | |||
							
								
								
									
										2
									
								
								vendor/google.golang.org/grpc/internal/binarylog/sink.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/google.golang.org/grpc/internal/binarylog/sink.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -25,8 +25,8 @@ import ( | |||
| 	"sync" | ||||
| 	"time" | ||||
| 
 | ||||
| 	"github.com/golang/protobuf/proto" | ||||
| 	binlogpb "google.golang.org/grpc/binarylog/grpc_binarylog_v1" | ||||
| 	"google.golang.org/protobuf/proto" | ||||
| ) | ||||
| 
 | ||||
| var ( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue