Do not create observability model by default
Co-authored-by: Kevin Pollet <pollet.kevin@gmail.com>
This commit is contained in:
parent
fb527dac1c
commit
857fbb933e
9 changed files with 133 additions and 62 deletions
|
|
@ -18,6 +18,8 @@ import (
|
|||
|
||||
var updateExpected = flag.Bool("update_expected", false, "Update expected files in fixtures")
|
||||
|
||||
func pointer[T any](v T) *T { return &v }
|
||||
|
||||
func Test_createConfiguration(t *testing.T) {
|
||||
testCases := []struct {
|
||||
desc string
|
||||
|
|
@ -185,9 +187,9 @@ func Test_createConfiguration(t *testing.T) {
|
|||
},
|
||||
},
|
||||
Observability: &static.ObservabilityConfig{
|
||||
AccessLogs: false,
|
||||
Tracing: false,
|
||||
Metrics: false,
|
||||
AccessLogs: pointer(false),
|
||||
Tracing: pointer(false),
|
||||
Metrics: pointer(false),
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue