2022-10-06 20:13:30 +05:30
|
|
|
package model
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
basemodel "go.signoz.io/signoz/pkg/query-service/model"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
const SSO = "SSO"
|
|
|
|
|
const Basic = "BASIC_PLAN"
|
|
|
|
|
const Pro = "PRO_PLAN"
|
|
|
|
|
const Enterprise = "ENTERPRISE_PLAN"
|
|
|
|
|
const DisableUpsell = "DISABLE_UPSELL"
|
|
|
|
|
|
|
|
|
|
var BasicPlan = basemodel.FeatureSet{
|
|
|
|
|
Basic: true,
|
|
|
|
|
SSO: false,
|
|
|
|
|
DisableUpsell: false,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var ProPlan = basemodel.FeatureSet{
|
2022-11-24 18:18:19 +05:30
|
|
|
Pro: true,
|
|
|
|
|
SSO: true,
|
|
|
|
|
basemodel.SmartTraceDetail: true,
|
|
|
|
|
basemodel.CustomMetricsFunction: true,
|
2022-10-06 20:13:30 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var EnterprisePlan = basemodel.FeatureSet{
|
2022-11-24 18:18:19 +05:30
|
|
|
Enterprise: true,
|
|
|
|
|
SSO: true,
|
|
|
|
|
basemodel.SmartTraceDetail: true,
|
|
|
|
|
basemodel.CustomMetricsFunction: true,
|
2022-10-06 20:13:30 +05:30
|
|
|
}
|