remove otel for now
All checks were successful
Build and Publish / Metadata (push) Successful in 10s
Build and Publish / BuildAndDeployAmd64 (push) Successful in 49s
Build and Publish / BuildAndDeployArm64 (push) Successful in 4m18s

This commit is contained in:
matst80
2025-11-05 14:15:14 +01:00
parent da28e993cd
commit 2378635790

View File

@@ -1,7 +1,6 @@
package main
import (
"context"
"encoding/json"
"fmt"
"log"
@@ -207,15 +206,15 @@ func main() {
done := make(chan bool, 1)
signal.Notify(sigs, syscall.SIGTERM)
otelShutdown, err := setupOTelSDK(context.Background())
if err != nil {
log.Fatalf("Unable to start otel %v", err)
}
// otelShutdown, err := setupOTelSDK(context.Background())
// if err != nil {
// log.Fatalf("Unable to start otel %v", err)
// }
go func() {
sig := <-sigs
fmt.Println("Shutting down due to signal:", sig)
otelShutdown(context.Background())
//otelShutdown(context.Background())
diskStorage.Close()
pool.Close()