feat: exclude OTEL instrumentation via build tag (#770)

* feat: exclude OTEL instrumentation via build tag

* add readme
This commit is contained in:
Jan-Otto Kröpke 2025-07-16 13:29:59 +02:00 committed by GitHub
parent d09a952410
commit 21e830e275
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 46 additions and 3 deletions

View file

@ -12,7 +12,7 @@ import (
"github.com/go-jose/go-jose/v4"
"github.com/zitadel/logging"
"go.opentelemetry.io/otel"
"github.com/zitadel/oidc/v3/internal/otel"
"golang.org/x/oauth2"
"github.com/zitadel/oidc/v3/pkg/crypto"

View file

@ -8,10 +8,10 @@ import (
"time"
"github.com/go-chi/chi/v5"
jose "github.com/go-jose/go-jose/v4"
"github.com/go-jose/go-jose/v4"
"github.com/rs/cors"
"github.com/zitadel/oidc/v3/internal/otel"
"github.com/zitadel/schema"
"go.opentelemetry.io/otel"
"golang.org/x/text/language"
httphelper "github.com/zitadel/oidc/v3/pkg/http"