mirror of https://github.com/grafana/grafana.git
Graphite: Set `maxDataPoints` based on user value in alerting (#97178)
This commit is contained in:
parent
886cbad275
commit
cc4afff889
|
|
@ -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{},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue