Skip to content

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.

feat: add org onboarding preference (#6248)

Yunus M910c44cefca8
diff --git a/pkg/query-service/app/preferences/map.go b/pkg/query-service/app/preferences/map.go
index 219fb6c595..d7cf76aec8 100644
--- a/pkg/query-service/app/preferences/map.go
+++ b/pkg/query-service/app/preferences/map.go
@@ -1,37 +1,14 @@
package preferences
var preferenceMap = map[string]Preference{
- "DASHBOARDS_LIST_VIEW": {
- Key: "DASHBOARDS_LIST_VIEW",
- Name: "Dashboards List View",
- Description: "",
- ValueType: "string",
- DefaultValue: "grid",
- AllowedValues: []interface{}{"grid", "list"},
- IsDiscreteValues: true,
- AllowedScopes: []string{"user", "org"},
- },
- "LOGS_TOOLBAR_COLLAPSED": {
- Key: "LOGS_TOOLBAR_COLLAPSED",
- Name: "Logs toolbar",
- Description: "",
+ "ORG_ONBOARDING": {
+ Key: "ORG_ONBOARDING",
+ Name: "Organisation Onboarding",
+ Description: "Organisation Onboarding",
ValueType: "boolean",
DefaultValue: false,
AllowedValues: []interface{}{true, false},
IsDiscreteValues: true,
- AllowedScopes: []string{"user", "org"},
- },
- "MAX_DEPTH_ALLOWED": {
- Key: "MAX_DEPTH_ALLOWED",
- Name: "Max Depth Allowed",
- Description: "",
- ValueType: "integer",
- DefaultValue: 10,
- IsDiscreteValues: false,
- Range: Range{
- Min: 0,
- Max: 100,
- },
- AllowedScopes: []string{"user", "org"},
+ AllowedScopes: []string{"org"},
},
}