mirror of
https://github.com/hanzoai/krakend-otel.git
synced 2026-09-30 22:49:38 +00:00
remove the "layers" object in extra_config opentelemetry section to match existing specs
This commit is contained in:
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user