github.com/instana/go-sensor@v1.62.2-0.20240520081010-4919868049e1/tracer_options_test.go (about)

     1  // (c) Copyright IBM Corp. 2021
     2  // (c) Copyright Instana Inc. 2020
     3  
     4  package instana_test
     5  
     6  import (
     7  	"testing"
     8  
     9  	instana "github.com/instana/go-sensor"
    10  	"github.com/stretchr/testify/assert"
    11  )
    12  
    13  func TestDefaultTracerOptions(t *testing.T) {
    14  	assert.Equal(t, instana.TracerOptions{
    15  		MaxLogsPerSpan: 2,
    16  		Secrets:        instana.DefaultSecretsMatcher(),
    17  	}, instana.DefaultTracerOptions())
    18  }