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}",
"extra_config": {
"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": {
"metrics_static_attributes": [
{
@@ -60,7 +45,6 @@
}
]
}
}
},
"backend": [
{
@@ -74,7 +58,6 @@
},
"extra_config": {
"telemetry/opentelemetry": {
"layers": {
"backend": {
"metrics": {
"static_attributes": [
@@ -95,7 +78,6 @@
}
}
}
}
},
{
"host": [