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
chore: use the license v2 key to fill licenses v3 on startup (#6468)
Vikrant Guptad93f72f18d5f
diff --git a/ee/query-service/license/manager.go b/ee/query-service/license/manager.goindex 6dcc704e3a..aa58e7e5a5 100644--- a/ee/query-service/license/manager.go+++ b/ee/query-service/license/manager.go@@ -67,6 +67,30 @@ func StartManager(dbType string, db *sqlx.DB, useLicensesV3 bool, features ...barepo: &repo,}+ if useLicensesV3 {+ // get active license from the db+ active, err := m.repo.GetActiveLicense(context.Background())+ if err != nil {+ return m, err+ }++ // if we have an active license then need to fetch the complete details+ if active != nil {+ // fetch the new license structure from control plane+ licenseV3, apiError := validate.ValidateLicenseV3(active.Key)+ if apiError != nil {+ return m, apiError+ }++ // insert the licenseV3 in sqlite db+ apiError = m.repo.InsertLicenseV3(context.Background(), licenseV3)+ // if the license already exists move ahead.+ if apiError != nil && apiError.Typ != model.ErrorConflict {+ return m, apiError+ }+ }+ }+if err := m.start(useLicensesV3, features...); err != nil {return m, err}