mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-21 09:26:52 +00:00
* feat: fixed panel coorelation not spreading the filter expression in explorer pages * feat: fixed multiagregation not getting sent in create alert * fix: fixed failing test cases * Update frontend/src/api/v5/queryRange/prepareQueryRangePayloadV5.ts Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com> * fix: fix lint error * fix: stepInterval not updating in panel qb * fix: added test cases for mapQueryDataFromApi and prepareQueryRangePayloadV5 * fix: added convertV5Response test cases - timeseries, pie and table * fix: refactored handleRunQuery * fix: code refactor * fix: refactored the mapQueryDataFromApi function according to new sub_var api * fix: updated test cases * fix: removed isJSON and isColumn from everywhere * fix: fixed code and test cases * fix: fixed bar chart custom - step interval for qb v5 (#8806) * fix: added querytype boolean check for v5 changes * fix: fixed typechecks * fix: fixed typechecks --------- Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
63 lines
1.1 KiB
TypeScript
63 lines
1.1 KiB
TypeScript
import { TelemetryFieldKey } from 'api/v5/v5';
|
|
|
|
import { FontSize, OptionsQuery } from './types';
|
|
|
|
export const URL_OPTIONS = 'options';
|
|
|
|
export const defaultOptionsQuery: OptionsQuery = {
|
|
selectColumns: [],
|
|
maxLines: 2,
|
|
format: 'raw',
|
|
fontSize: FontSize.SMALL,
|
|
};
|
|
|
|
export const defaultLogsSelectedColumns: TelemetryFieldKey[] = [
|
|
{
|
|
name: 'timestamp',
|
|
signal: 'logs',
|
|
fieldContext: 'log',
|
|
fieldDataType: '',
|
|
isIndexed: false,
|
|
},
|
|
{
|
|
name: 'body',
|
|
signal: 'logs',
|
|
fieldContext: 'log',
|
|
fieldDataType: '',
|
|
isIndexed: false,
|
|
},
|
|
];
|
|
|
|
export const defaultTraceSelectedColumns: TelemetryFieldKey[] = [
|
|
{
|
|
name: 'service.name',
|
|
signal: 'traces',
|
|
fieldContext: 'resource',
|
|
fieldDataType: 'string',
|
|
},
|
|
{
|
|
name: 'name',
|
|
signal: 'traces',
|
|
fieldContext: 'span',
|
|
fieldDataType: 'string',
|
|
},
|
|
{
|
|
name: 'duration_nano',
|
|
signal: 'traces',
|
|
fieldContext: 'span',
|
|
fieldDataType: '',
|
|
},
|
|
{
|
|
name: 'http_method',
|
|
signal: 'traces',
|
|
fieldContext: 'span',
|
|
fieldDataType: '',
|
|
},
|
|
{
|
|
name: 'response_status_code',
|
|
signal: 'traces',
|
|
fieldContext: 'span',
|
|
fieldDataType: '',
|
|
},
|
|
];
|