mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-28 14:08:43 +02:00
new tracing system
This commit is contained in:
parent
b87d940d11
commit
a6f43f3c3c
127 changed files with 7509 additions and 1454 deletions
|
@ -36,7 +36,7 @@ func TestBuilder_BuildBootstrapAdmin(t *testing.T) {
|
|||
|
||||
func TestBuilder_BuildBootstrapLayeredRuntime(t *testing.T) {
|
||||
b := New("localhost:1111", "localhost:2222", "localhost:3333", filemgr.NewManager(), nil)
|
||||
staticCfg, err := b.BuildBootstrapLayeredRuntime()
|
||||
staticCfg, err := b.BuildBootstrapLayeredRuntime(context.Background())
|
||||
assert.NoError(t, err)
|
||||
testutil.AssertProtoJSONEqual(t, `
|
||||
{ "layers": [{
|
||||
|
@ -47,6 +47,12 @@ func TestBuilder_BuildBootstrapLayeredRuntime(t *testing.T) {
|
|||
"error_level": 1048576,
|
||||
"warn_level": 1024
|
||||
}
|
||||
},
|
||||
"tracing": {
|
||||
"opentelemetry": {
|
||||
"flush_interval_ms": 5000,
|
||||
"min_flush_spans": 3
|
||||
}
|
||||
}
|
||||
}
|
||||
}] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue