Skip to content

Commit

Permalink
rename function
Browse files Browse the repository at this point in the history
  • Loading branch information
RonFed committed Nov 27, 2024
1 parent e9d8f8d commit 738d5ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/test/e2e/otelglobal/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var tracer = otel.Tracer(
trace.WithSchemaURL("https://some_schema"),
)

func setUnUsedTracers() {
func setUnusedTracers() {
for i := range 20 {
otel.Tracer(fmt.Sprintf("unused%d", i))
}
Expand Down Expand Up @@ -52,7 +52,7 @@ func createMainSpan(ctx context.Context) {

func main() {
// registering unused tracers to test how we handle a non-trivial tracers map
setUnUsedTracers()
setUnusedTracers()
// give time for auto-instrumentation to start up
time.Sleep(5 * time.Second)

Expand Down

0 comments on commit 738d5ee

Please sign in to comment.