SigNoz / signoz

SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
https://signoz.io
Other
19.43k stars 1.3k forks source link

chore: exactly match the list licenses v2 structure with FF on #6481

Closed vikrantgupta25 closed 3 days ago

vikrantgupta25 commented 3 days ago

Summary

Related Issues / PR's

Screenshots

NA

Affected Areas and Manually Tested Areas


[!IMPORTANT] Align license structure with feature flag by mapping old plan keys to new names and setting default validity in license.go and manager.go.

  • Behavior:
    • In convertLicenseV3ToLicenseV2 in license.go, map old plan keys to new plan names using MapOldPlanKeyToNewPlanName.
    • In GetLicensesV3 in manager.go, set ValidUntil to one year from ValidFrom if ValidUntil is -1.
  • Models:
    • Add MapOldPlanKeyToNewPlanName in plans.go to map old plan keys to new plan names.
  • Misc:
    • Ensure PlanKey in LicensePlan is correctly set in convertLicenseV3ToLicenseV2.

This description was created by Ellipsis for ba2e84bf0d840834dbc1863580a709b79ab2da5f. It will automatically update as commits are pushed.

github-actions[bot] commented 3 days ago

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #

github-actions[bot] commented 3 days ago

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #

github-actions[bot] commented 3 days ago

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #

vikrantgupta25 commented 3 days ago

contributes to - https://github.com/SigNoz/platform-pod/issues/325