Skip to content

Commit

Permalink
examples/features/csm_observability: Make CSM Observability example s…
Browse files Browse the repository at this point in the history
…erver listen on an IPV4 address (#7933) (#7934)
  • Loading branch information
zasweq authored Dec 16, 2024
1 parent 9355fbc commit b6e7c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/features/csm_observability/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func main() {
cleanup := csm.EnableObservability(context.Background(), opentelemetry.Options{MetricsOptions: opentelemetry.MetricsOptions{MeterProvider: provider}})
defer cleanup()

lis, err := net.Listen("tcp", ":"+*port)
lis, err := net.Listen("tcp4", "0.0.0.0:"+*port)
if err != nil {
log.Fatalf("Failed to listen: %v", err)
}
Expand Down

0 comments on commit b6e7c72

Please sign in to comment.