Graphite: Set maxDataPoints based on user value in alerting (#97178)

This commit is contained in:
Andreas Christou 2024-12-12 23:26:44 +00:00 committed by GitHub
parent 886cbad275
commit cc4afff889
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -109,7 +109,7 @@ func (s *Service) QueryData(ctx context.Context, req *backend.QueryDataRequest)
"from": []string{from},
"until": []string{until},
"format": []string{"json"},
"maxDataPoints": []string{"500"},
"maxDataPoints": []string{fmt.Sprintf("%d", q.MaxDataPoints)},
"target": []string{},
}