mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-24 02:46:27 +00:00
* feat: add support for changing the font size in logs * fix: build issues and logs context * chore: fix build issues * feat: scale all the spaces * chore: handle light mode designs * feat: set small as the default
61 lines
1.2 KiB
TypeScript
61 lines
1.2 KiB
TypeScript
import { DataTypes } from 'types/api/queryBuilder/queryAutocompleteResponse';
|
|
|
|
import { FontSize, OptionsQuery } from './types';
|
|
|
|
export const URL_OPTIONS = 'options';
|
|
|
|
export const defaultOptionsQuery: OptionsQuery = {
|
|
selectColumns: [],
|
|
maxLines: 2,
|
|
format: 'list',
|
|
fontSize: FontSize.SMALL,
|
|
};
|
|
|
|
export const defaultTraceSelectedColumns = [
|
|
{
|
|
key: 'serviceName',
|
|
dataType: DataTypes.String,
|
|
type: 'tag',
|
|
isColumn: true,
|
|
isJSON: false,
|
|
id: 'serviceName--string--tag--true',
|
|
isIndexed: false,
|
|
},
|
|
{
|
|
key: 'name',
|
|
dataType: DataTypes.String,
|
|
type: 'tag',
|
|
isColumn: true,
|
|
isJSON: false,
|
|
id: 'name--string--tag--true',
|
|
isIndexed: false,
|
|
},
|
|
{
|
|
key: 'durationNano',
|
|
dataType: DataTypes.Float64,
|
|
type: 'tag',
|
|
isColumn: true,
|
|
isJSON: false,
|
|
id: 'durationNano--float64--tag--true',
|
|
isIndexed: false,
|
|
},
|
|
{
|
|
key: 'httpMethod',
|
|
dataType: DataTypes.String,
|
|
type: 'tag',
|
|
isColumn: true,
|
|
isJSON: false,
|
|
id: 'httpMethod--string--tag--true',
|
|
isIndexed: false,
|
|
},
|
|
{
|
|
key: 'responseStatusCode',
|
|
dataType: DataTypes.String,
|
|
type: 'tag',
|
|
isColumn: true,
|
|
isJSON: false,
|
|
id: 'responseStatusCode--string--tag--true',
|
|
isIndexed: false,
|
|
},
|
|
];
|