SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
fix: move ee references out of cmd/community (#10063)
Pandey3051d442c082
diff --git a/.github/workflows/commitci.yaml b/.github/workflows/commitci.yamlindex 2c67ba5f9f..4935c07317 100644--- a/.github/workflows/commitci.yaml+++ b/.github/workflows/commitci.yaml@@ -25,3 +25,10 @@ jobs:elseecho "No references to 'ee' packages found in 'pkg' directory"fi++ if grep -R --include="*.go" '.*/ee/.*' cmd/community/; then+ echo "Error: Found references to 'ee' packages in 'cmd/community' directory"+ exit 1+ else+ echo "No references to 'ee' packages found in 'cmd/community' directory"+ fidiff --git a/cmd/community/server.go b/cmd/community/server.goindex 8fd00e445b..c91b6fb0ee 100644--- a/cmd/community/server.go+++ b/cmd/community/server.go@@ -5,12 +5,11 @@ import ("log/slog""github.com/SigNoz/signoz/cmd"- "github.com/SigNoz/signoz/ee/authz/openfgaauthz"- "github.com/SigNoz/signoz/ee/authz/openfgaschema"- "github.com/SigNoz/signoz/ee/sqlstore/postgressqlstore""github.com/SigNoz/signoz/pkg/analytics""github.com/SigNoz/signoz/pkg/authn""github.com/SigNoz/signoz/pkg/authz"+ "github.com/SigNoz/signoz/pkg/authz/openfgaauthz"+ "github.com/SigNoz/signoz/pkg/authz/openfgaschema""github.com/SigNoz/signoz/pkg/factory""github.com/SigNoz/signoz/pkg/gateway""github.com/SigNoz/signoz/pkg/gateway/noopgateway"@@ -26,7 +25,6 @@ import ("github.com/SigNoz/signoz/pkg/signoz""github.com/SigNoz/signoz/pkg/sqlschema""github.com/SigNoz/signoz/pkg/sqlstore"- "github.com/SigNoz/signoz/pkg/sqlstore/sqlstorehook""github.com/SigNoz/signoz/pkg/types/authtypes""github.com/SigNoz/signoz/pkg/version""github.com/SigNoz/signoz/pkg/zeus"@@ -59,13 +57,6 @@ func runServer(ctx context.Context, config signoz.Config, logger *slog.Logger) e// print the versionversion.Info.PrettyPrint(config.Version)- // add enterprise sqlstore factories to the community sqlstore factories- sqlstoreFactories := signoz.NewSQLStoreProviderFactories()- if err := sqlstoreFactories.Add(postgressqlstore.NewFactory(sqlstorehook.NewLoggingFactory())); err != nil {- logger.ErrorContext(ctx, "failed to add postgressqlstore factory", "error", err)- return err- }-signoz, err := signoz.New(ctx,config,