mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-13 19:17:29 -06:00
log OTEL internal logs
This commit is contained in:
parent
865b3aeaac
commit
25b59e74ca
4 changed files with 169 additions and 1 deletions
|
|
@ -55,6 +55,9 @@ func Initialize() error {
|
|||
|
||||
insecure := config.GetTracingInsecureTransport()
|
||||
|
||||
// Log internal OTEL logs
|
||||
otel.SetLogger(log.NewLogrLogger())
|
||||
|
||||
var tpo trace.TracerProviderOption
|
||||
switch config.GetTracingTransport() {
|
||||
case "grpc":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue