mirror of
https://github.com/grafana/grafana.git
synced 2025-09-25 06:43:53 +08:00
Graphite: Set maxDataPoints
based on user value in alerting (#97178)
This commit is contained in:
@ -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{},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user