/usr/share/grafana/public/app/plugins/datasource/azuremonitor/components/LogsQueryBuilder
import { QueryEditorProperty, QueryEditorPropertyType } from '../../types/types'; export enum QueryEditorExpressionType { Property = 'property', Operator = 'operator', Reduce = 'reduce', FunctionParameter = 'functionParameter', GroupBy = 'groupBy', Or = 'or', And = 'and', } export interface QueryEditorExpression { type: QueryEditorExpressionType; } export interface QueryEditorFunctionParameterExpression extends QueryEditorExpression { value: string; fieldType: QueryEditorPropertyType; name: string; } export interface QueryEditorReduceExpression extends QueryEditorExpression { property: QueryEditorProperty; reduce: QueryEditorProperty; parameters?: QueryEditorFunctionParameterExpression[]; focus?: boolean; } export interface QueryEditorGroupByExpression extends QueryEditorExpression { property: QueryEditorProperty; interval?: QueryEditorProperty; focus?: boolean; } export interface QueryEditorArrayExpression extends QueryEditorExpression { expressions: QueryEditorExpression[] | QueryEditorArrayExpression[]; } export interface QueryEditorReduceExpression extends QueryEditorExpression { property: QueryEditorProperty; reduce: QueryEditorProperty; parameters?: QueryEditorFunctionParameterExpression[]; focus?: boolean; } export interface QueryEditorPropertyExpression extends QueryEditorExpression { property: QueryEditorProperty; }
.
Edit
..
Edit
AggregateItem.tsx
Edit
AggregationSection.tsx
Edit
AzureMonitorKustoQueryBuilder.test.ts
Edit
AzureMonitorKustoQueryBuilder.ts
Edit
FilterItem.tsx
Edit
FilterSection.tsx
Edit
FuzzySearch.tsx
Edit
GroupByItem.tsx
Edit
GroupBySection.tsx
Edit
KQLPreview.tsx
Edit
LimitSection.tsx
Edit
LogsQueryBuilder.tsx
Edit
OrderBySection.tsx
Edit
TableSection.tsx
Edit
expressions.ts
Edit
utils.ts
Edit