mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Store: don't marshall/unmarshall the dashboard when building a summary (#57520)
* dont pretty print the dashboard * stop marshalling the dashboard * do not sanitize for searchV2 Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
@@ -953,7 +953,7 @@ func (l sqlDashboardLoader) LoadDashboards(ctx context.Context, orgID int64, das
|
||||
readDashboardSpan.SetAttributes("orgID", orgID, attribute.Key("orgID").Int64(orgID))
|
||||
readDashboardSpan.SetAttributes("dashboardCount", len(rows), attribute.Key("dashboardCount").Int(len(rows)))
|
||||
|
||||
reader := kdash.NewStaticDashboardSummaryBuilder(lookup)
|
||||
reader := kdash.NewStaticDashboardSummaryBuilder(lookup, false)
|
||||
|
||||
for _, row := range rows {
|
||||
summary, _, err := reader(ctx, row.Uid, row.Data)
|
||||
|
||||
Reference in New Issue
Block a user