grafana/public/app/plugins/datasource/testdata/constants.ts
Kyle Brandt 968935b8b7
TestData: Change predictable csv scenario to multi-series (#33442)
Allow multiple series in Predictable CSV Wave testdata scenario

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-04-27 16:35:43 -04:00

22 lines
368 B
TypeScript

import { CSVWave, TestDataQuery } from './types';
export const defaultPulseQuery: any = {
timeStep: 60,
onCount: 3,
onValue: 2,
offCount: 3,
offValue: 1,
};
export const defaultCSVWaveQuery: CSVWave[] = [
{
timeStep: 60,
valuesCSV: '0,0,2,2,1,1',
},
];
export const defaultQuery: TestDataQuery = {
scenarioId: 'random_walk',
refId: '',
};