Skip to content

Commit

Permalink
chore: delete unuse code
Browse files Browse the repository at this point in the history
  • Loading branch information
daviderli614 committed Sep 19, 2024
1 parent 3a6fe7e commit 1399b2d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/opentelemetry/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ func main() {
// Initialize a gRPC connection to be used by both the tracer and meter
// providers.
func initConn() (*grpc.ClientConn, error) {
// It connects the OpenTelemetry Collector through local gRPC connection.
// You may replace `localhost:4317` with your endpoint.
conn, err := grpc.NewClient(tracingEndpoint,
// Note the use of insecure transport here. TLS is recommended in production.
grpc.WithTransportCredentials(insecure.NewCredentials()),
Expand Down

0 comments on commit 1399b2d

Please sign in to comment.