fix
Build and Publish / Metadata (push) Has been cancelled
Build and Publish / BuildAndDeployAmd64 (push) Has been cancelled

This commit is contained in:
2026-04-05 18:27:35 +02:00
parent 83c8f6eae2
commit d83fe85864
8 changed files with 72 additions and 8 deletions
+3 -2
View File
@@ -1,3 +1,4 @@
// Package main implements the Go OTel Debugger server.
package main
import (
@@ -46,8 +47,7 @@ func (h *connStatsHandler) TagConn(ctx context.Context, info *stats.ConnTagInfo)
}
func (h *connStatsHandler) HandleConn(ctx context.Context, s stats.ConnStats) {
switch s.(type) {
case *stats.ConnEnd:
if _, ok := s.(*stats.ConnEnd); ok {
log.Printf("gRPC CONN [CLOSED]")
}
}
@@ -55,6 +55,7 @@ func (h *connStatsHandler) HandleConn(ctx context.Context, s stats.ConnStats) {
func (h *connStatsHandler) TagRPC(ctx context.Context, info *stats.RPCTagInfo) context.Context {
return ctx
}
func (h *connStatsHandler) HandleRPC(ctx context.Context, s stats.RPCStats) {}
type traceService struct {