Graphite: Fix test data source query options (#26906)

This commit is contained in:
Zoltán Bedi 2020-08-11 12:41:34 +02:00 committed by GitHub
parent 1dd5b58e95
commit 02e4c2bb9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -593,6 +593,9 @@ export class GraphiteDatasource extends DataSourceApi<GraphiteQuery, GraphiteOpt
const query = ({
panelId: 3,
rangeRaw: { from: 'now-1h', to: 'now' },
range: {
raw: { from: 'now-1h', to: 'now' },
},
targets: [{ target: 'constantLine(100)' }],
maxDataPoints: 300,
} as unknown) as DataQueryRequest<GraphiteQuery>;