Logo
Explore Help
Register Sign In
External/signoz
1
0
Fork 0
You've already forked signoz
mirror of https://github.com/SigNoz/signoz.git synced 2025-12-17 15:36:48 +00:00
Code Issues Packages Projects Releases Wiki Activity
signoz/pkg/querybuilder/init.go

2 lines
21 B
Go
Raw Normal View History

chore: add sql migration for dashboards, alerts, and saved views (#8642) ## 📄 Summary To reliably migrate the alerts and dashboards, we need access to the telemetrystore to fetch some metadata and while doing migration, I need to log some stuff to fix stuff later. Key changes: - Modified the migration to include telemetrystore and a logging provider (open to using a standard logger instead) - To avoid the previous issues with imported dashboards failing during migration, I've ensured that imported JSON files are automatically transformed when migration is active - Implemented detailed logic to handle dashboard migration cleanly and prevent unnecessary errors - Separated the core migration logic from SQL migration code, as users from the dot metrics migration requested shareable code snippets for local migrations. This modular approach allows others to easily reuse the migration functionality. Known: I didn't register the migration yet in this PR, and will not merge this yet, so please review with that in mid.
2025-08-06 23:05:39 +05:30
package querybuilder
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.6 Page: 679ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API