remove the "layers" object in extra_config opentelemetry section to match existing specs

This commit is contained in:
David Hontecillas
2024-10-10 13:47:37 +02:00
parent fdc842d246
commit f75da76850
@@ -30,21 +30,6 @@
"endpoint": "/back_combination/{id}", "endpoint": "/back_combination/{id}",
"extra_config": { "extra_config": {
"telemetry/opentelemetry": { "telemetry/opentelemetry": {
"layers": {
"global": {
"metrics_static_attributes": [
{
"key": "my_metric_global_override_attr",
"value": "my_metric_global_override_val"
}
],
"traces_static_attributes": [
{
"key": "my_trace_global_override_attr",
"value": "my_trace_global_override_val"
}
]
},
"proxy": { "proxy": {
"metrics_static_attributes": [ "metrics_static_attributes": [
{ {
@@ -60,7 +45,6 @@
} }
] ]
} }
}
}, },
"backend": [ "backend": [
{ {
@@ -74,7 +58,6 @@
}, },
"extra_config": { "extra_config": {
"telemetry/opentelemetry": { "telemetry/opentelemetry": {
"layers": {
"backend": { "backend": {
"metrics": { "metrics": {
"static_attributes": [ "static_attributes": [
@@ -95,7 +78,6 @@
} }
} }
} }
}
}, },
{ {
"host": [ "host": [