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.

fix(dashboard): dashboards/alerts info telemetry fix (#8161)

Vikrant Guptaa19874c1dd06
diff --git a/pkg/query-service/telemetry/dashboard.go b/pkg/query-service/telemetry/dashboard.go
index c48c95e927..4470b80111 100644
--- a/pkg/query-service/telemetry/dashboard.go
+++ b/pkg/query-service/telemetry/dashboard.go
@@ -16,7 +16,7 @@ import (
func GetDashboardsInfo(ctx context.Context, sqlstore sqlstore.SQLStore) (*model.DashboardsInfo, error) {
dashboardsInfo := model.DashboardsInfo{}
// fetch dashboards from dashboard db
- dashboards := []dashboardtypes.Dashboard{}
+ dashboards := []dashboardtypes.StorableDashboard{}
err := sqlstore.BunDB().NewSelect().Model(&dashboards).Scan(ctx)
if err != nil {
zap.L().Error("Error in processing sql query", zap.Error(err))