1
0
Fork 0

Manage observability at entrypoint and router level

Co-authored-by: Kevin Pollet <pollet.kevin@gmail.com>
This commit is contained in:
Romain 2024-12-12 09:52:07 +01:00 committed by GitHub
parent 9588e51146
commit b1934231ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
58 changed files with 1216 additions and 303 deletions

View file

@ -57,6 +57,11 @@ func init() {
},
},
},
Observability: &dynamic.RouterObservabilityConfig{
AccessLogs: pointer(true),
Tracing: pointer(true),
Metrics: pointer(true),
},
},
},
Services: map[string]*dynamic.Service{

View file

@ -22,6 +22,11 @@
]
}
]
},
"observability": {
"accessLogs": true,
"tracing": true,
"metrics": true
}
}
},
@ -327,7 +332,8 @@
]
}
]
}
},
"observability": {}
}
},
"serversTransports": {

View file

@ -22,6 +22,11 @@
]
}
]
},
"observability": {
"accessLogs": true,
"tracing": true,
"metrics": true
}
}
},
@ -330,7 +335,8 @@
]
}
]
}
},
"observability": {}
}
},
"serversTransports": {