Align OpenTelemetry tracing and metrics configurations
Co-authored-by: Michael <michael.matur@gmail.com>
This commit is contained in:
parent
d7ec0cedbf
commit
bb6cd581a6
18 changed files with 587 additions and 341 deletions
|
@ -846,17 +846,17 @@ func TestDo_staticConfiguration(t *testing.T) {
|
|||
|
||||
config.Tracing = &static.Tracing{
|
||||
ServiceName: "myServiceName",
|
||||
Headers: map[string]string{
|
||||
"foobar": "foobar",
|
||||
},
|
||||
GlobalAttributes: map[string]string{
|
||||
"foobar": "foobar",
|
||||
},
|
||||
SampleRate: 42,
|
||||
OTLP: &opentelemetry.Config{
|
||||
HTTP: &opentelemetry.HTTP{
|
||||
HTTP: &types.OtelHTTP{
|
||||
Endpoint: "foobar",
|
||||
TLS: nil,
|
||||
Headers: map[string]string{
|
||||
"foobar": "foobar",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -344,9 +344,6 @@
|
|||
},
|
||||
"tracing": {
|
||||
"serviceName": "myServiceName",
|
||||
"headers": {
|
||||
"foobar": "foobar"
|
||||
},
|
||||
"globalAttributes": {
|
||||
"foobar": "foobar"
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue