@grepr/cli 1.14.13-7f3738f → 1.15.0-c0f7761
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dist/commands/job-draft-command.d.ts.map +1 -1
- package/build/dist/commands/job-draft-command.js +6 -71
- package/build/dist/commands/job-draft-command.js.map +1 -1
- package/build/dist/docs-index/index.json +1 -1
- package/build/dist/grepr.d.ts.map +1 -1
- package/build/dist/grepr.js +0 -2
- package/build/dist/grepr.js.map +1 -1
- package/build/dist/lib/backfill.js +4 -8
- package/build/dist/lib/backfill.js.map +1 -1
- package/build/dist/lib/job-patch.d.ts +15 -31
- package/build/dist/lib/job-patch.d.ts.map +1 -1
- package/build/dist/lib/job-patch.js +39 -709
- package/build/dist/lib/job-patch.js.map +1 -1
- package/build/dist/lib/job-plan.d.ts +3 -6
- package/build/dist/lib/job-plan.d.ts.map +1 -1
- package/build/dist/lib/job-plan.js +5 -55
- package/build/dist/lib/job-plan.js.map +1 -1
- package/build/dist/lib/option-parsers.d.ts +0 -5
- package/build/dist/lib/option-parsers.d.ts.map +1 -1
- package/build/dist/lib/option-parsers.js +0 -7
- package/build/dist/lib/option-parsers.js.map +1 -1
- package/build/dist/lib/signal-source.d.ts +1 -1
- package/build/dist/lib/signal-source.d.ts.map +1 -1
- package/build/dist/lib/signal-source.js +10 -69
- package/build/dist/lib/signal-source.js.map +1 -1
- package/build/dist/openapi/openApiTypes.d.ts +232 -10
- package/build/dist/openapi/openApiTypes.d.ts.map +1 -1
- package/build/dist/openapi/openApiTypes.js +26 -0
- package/build/dist/openapi/openApiTypes.js.map +1 -1
- package/build/dist/openapi-docs/api/Agents/create_2.md +1 -1
- package/build/dist/openapi-docs/api/Agents/investigations.md +1 -1
- package/build/dist/openapi-docs/api/Agents/update.md +1 -1
- package/build/dist/openapi-docs/api/Datasets/getDatasetDataTypes.md +25 -0
- package/build/dist/openapi-docs/schemas/AgentConfigCreate.md +3 -0
- package/build/dist/openapi-docs/schemas/AgentConfigPayload.md +3 -0
- package/build/dist/openapi-docs/schemas/AgentConfigUpdate.md +3 -0
- package/build/dist/openapi-docs/schemas/AgentSchedule.md +16 -0
- package/build/dist/openapi-docs/schemas/AnalyticsDiagnostic.md +4 -1
- package/build/dist/openapi-docs/schemas/AnalyticsDiagnosticRange.md +19 -0
- package/build/dist/openapi-docs/schemas/AnalyticsDraftRequest.md +2 -2
- package/build/dist/openapi-docs/schemas/AnalyticsField.md +6 -0
- package/build/dist/openapi-docs/schemas/AnalyticsQuery.md +3 -0
- package/build/dist/openapi-docs/schemas/AnalyticsResultGrouping.md +23 -0
- package/build/dist/openapi-docs/schemas/AnalyticsResultShape.md +22 -0
- package/build/dist/openapi-docs/schemas/AnalyticsTableBinding.md +1 -1
- package/build/dist/openapi-docs/schemas/AnalyticsVocabularyResponse.md +4 -0
- package/build/dist/openapi-docs/schemas/AthenaAnalyticsSource.md +2 -2
- package/build/dist/openapi-docs/schemas/ChangeFinding.md +1 -1
- package/build/dist/openapi-docs/schemas/DatasetDataTypes.md +9 -0
- package/build/dist/openapi-docs/schemas/EventRecord.md +11 -0
- package/build/dist/openapi-docs/schemas/PipelineChangeRequest.md +4 -0
- package/build/dist/openapi-docs/schemas/SqlAnalyticsQuery.md +29 -0
- package/build/dist/openapi-docs/schemas/SqlAnalyticsTable.md +16 -0
- package/build/dist/openapi-docs/schemas/TrinoAnalyticsSource.md +2 -2
- package/build/dist/types.d.ts +8 -37
- package/build/dist/types.d.ts.map +1 -1
- package/build/dist/types.js +0 -69
- package/build/dist/types.js.map +1 -1
- package/package.json +1 -1
- package/build/dist/commands/job-to-test-command.d.ts +0 -74
- package/build/dist/commands/job-to-test-command.d.ts.map +0 -1
- package/build/dist/commands/job-to-test-command.js +0 -161
- package/build/dist/commands/job-to-test-command.js.map +0 -1
- package/build/dist/lib/job-graph-log-pipeline-constants.d.ts +0 -12
- package/build/dist/lib/job-graph-log-pipeline-constants.d.ts.map +0 -1
- package/build/dist/lib/job-graph-log-pipeline-constants.js +0 -16
- package/build/dist/lib/job-graph-log-pipeline-constants.js.map +0 -1
- package/build/dist/lib/job-graph-transformer.d.ts +0 -119
- package/build/dist/lib/job-graph-transformer.d.ts.map +0 -1
- package/build/dist/lib/job-graph-transformer.js +0 -767
- package/build/dist/lib/job-graph-transformer.js.map +0 -1
- package/build/dist/lib/job-graph-utils.d.ts +0 -50
- package/build/dist/lib/job-graph-utils.d.ts.map +0 -1
- package/build/dist/lib/job-graph-utils.js +0 -90
- package/build/dist/lib/job-graph-utils.js.map +0 -1
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import { CreateLogsBackfillJobDataType, CreateSpansBackfillJobDataType,
|
|
2
|
-
import { parseEdge } from './job-graph-utils.js';
|
|
1
|
+
import { CreateLogsBackfillJobDataType, CreateSpansBackfillJobDataType, TemplateOperationType } from '../openapi/openApiTypes.js';
|
|
3
2
|
const LOG_REDUCER_TEMPLATE_NAME = 'log-reducer-job-graph-template';
|
|
4
3
|
const TRACE_REDUCER_TEMPLATE_NAME = 'trace-reducer-job-graph-template';
|
|
5
|
-
const RAW_LOGS_SINK_NAME_PREFIX = 'raw_data_sink';
|
|
6
4
|
export function parseSignalDataType(value) {
|
|
7
5
|
switch (value) {
|
|
8
6
|
case CreateLogsBackfillJobDataType.logs:
|
|
@@ -35,8 +33,7 @@ export async function resolveSignalSource(options, apiClient, resolutionOptions
|
|
|
35
33
|
dataType: options.dataType ?? CreateLogsBackfillJobDataType.logs,
|
|
36
34
|
datasetId: options.datasetId,
|
|
37
35
|
teamIds: [],
|
|
38
|
-
sinkOperations: []
|
|
39
|
-
postReducerSqlOperations: []
|
|
36
|
+
sinkOperations: []
|
|
40
37
|
};
|
|
41
38
|
}
|
|
42
39
|
const dataset = await resolveDatasetFromOptions(options, apiClient);
|
|
@@ -44,8 +41,7 @@ export async function resolveSignalSource(options, apiClient, resolutionOptions
|
|
|
44
41
|
dataType: options.dataType ?? CreateLogsBackfillJobDataType.logs,
|
|
45
42
|
datasetId: dataset.id,
|
|
46
43
|
teamIds: includeTeamIds ? dataset.teamIds ?? [] : [],
|
|
47
|
-
sinkOperations: []
|
|
48
|
-
postReducerSqlOperations: []
|
|
44
|
+
sinkOperations: []
|
|
49
45
|
};
|
|
50
46
|
}
|
|
51
47
|
const job = await apiClient.getJob(options.jobId);
|
|
@@ -74,10 +70,12 @@ async function inferJobSource(job, apiClient) {
|
|
|
74
70
|
throw new Error(`Source job ${job.id ?? job.name} has an ambiguous pipeline definition`);
|
|
75
71
|
}
|
|
76
72
|
const templateOperation = templateOperations[0];
|
|
77
|
-
if (templateOperation) {
|
|
78
|
-
|
|
73
|
+
if (!templateOperation) {
|
|
74
|
+
throw new Error(`Source job ${job.id ?? job.name} uses a raw job graph (no template-operation vertex). ` +
|
|
75
|
+
'--job-id supports only template-backed pipelines. ' +
|
|
76
|
+
'Pass --dataset-id or --dataset-name instead. For a trace pipeline, also pass --data-type spans.');
|
|
79
77
|
}
|
|
80
|
-
return
|
|
78
|
+
return inferTemplateJobSource(templateOperation, apiClient);
|
|
81
79
|
}
|
|
82
80
|
async function inferTemplateJobSource(operation, apiClient) {
|
|
83
81
|
const template = await apiClient.getTemplate(operation.templateId, operation.templateVersion);
|
|
@@ -95,8 +93,7 @@ async function inferTemplateJobSource(operation, apiClient) {
|
|
|
95
93
|
datasetId,
|
|
96
94
|
sinkOperations: sinks
|
|
97
95
|
.map(wrapper => wrapper.sink)
|
|
98
|
-
.filter(isOperation)
|
|
99
|
-
postReducerSqlOperations: []
|
|
96
|
+
.filter(isOperation)
|
|
100
97
|
};
|
|
101
98
|
}
|
|
102
99
|
case TRACE_REDUCER_TEMPLATE_NAME: {
|
|
@@ -110,57 +107,13 @@ async function inferTemplateJobSource(operation, apiClient) {
|
|
|
110
107
|
sinkOperations: (spansInput.sinks ?? [])
|
|
111
108
|
.map(wrapper => wrapper.sink)
|
|
112
109
|
.filter(isOperation),
|
|
113
|
-
|
|
114
|
-
? [spansInput.sqlOperations.postReducer.sqlOperation]
|
|
115
|
-
: []
|
|
110
|
+
postReducerSqlOperation: spansInput.sqlOperations?.postReducer?.sqlOperation
|
|
116
111
|
};
|
|
117
112
|
}
|
|
118
113
|
default:
|
|
119
114
|
throw new Error(`Source job uses unsupported pipeline template ${template.name} (${operation.templateId})`);
|
|
120
115
|
}
|
|
121
116
|
}
|
|
122
|
-
function inferRawJobSource(job) {
|
|
123
|
-
const operations = job.jobGraph.vertices;
|
|
124
|
-
const rawLogSinks = operations.filter(isRawLogsSink);
|
|
125
|
-
const traceReducers = operations.filter(isTraceReducerWithDataset);
|
|
126
|
-
if (rawLogSinks.length > 0 && traceReducers.length > 0) {
|
|
127
|
-
throw new Error(`Source job ${job.id ?? job.name} contains both logs and spans datasets`);
|
|
128
|
-
}
|
|
129
|
-
if (rawLogSinks.length > 1) {
|
|
130
|
-
throw new Error(`Source job ${job.id ?? job.name} has multiple raw logs datasets; ` +
|
|
131
|
-
'use --dataset-id to select one explicitly');
|
|
132
|
-
}
|
|
133
|
-
if (traceReducers.length > 1) {
|
|
134
|
-
throw new Error(`Source job ${job.id ?? job.name} has multiple spans datasets; ` +
|
|
135
|
-
'use --dataset-id to select one explicitly');
|
|
136
|
-
}
|
|
137
|
-
const rawLogSink = rawLogSinks[0];
|
|
138
|
-
if (rawLogSinks.length === 1 && rawLogSink) {
|
|
139
|
-
return {
|
|
140
|
-
dataType: CreateLogsBackfillJobDataType.logs,
|
|
141
|
-
datasetId: rawLogSink.datasetId,
|
|
142
|
-
sinkOperations: operations,
|
|
143
|
-
postReducerSqlOperations: []
|
|
144
|
-
};
|
|
145
|
-
}
|
|
146
|
-
const traceReducer = traceReducers[0];
|
|
147
|
-
if (traceReducers.length === 1 && traceReducer) {
|
|
148
|
-
const postReducerSqlOperations = job.jobGraph.vertices
|
|
149
|
-
.filter(isSqlOperation)
|
|
150
|
-
.filter(operation => job.jobGraph.edges.some(edge => {
|
|
151
|
-
const parsed = parseEdge(edge);
|
|
152
|
-
return parsed.sourceVertex === traceReducer.name &&
|
|
153
|
-
parsed.targetVertex === operation.name;
|
|
154
|
-
}));
|
|
155
|
-
return {
|
|
156
|
-
dataType: CreateSpansBackfillJobDataType.spans,
|
|
157
|
-
datasetId: traceReducer.datasetId,
|
|
158
|
-
sinkOperations: operations,
|
|
159
|
-
postReducerSqlOperations
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
throw new Error(`Source job ${job.id ?? job.name} has no supported raw logs or spans dataset`);
|
|
163
|
-
}
|
|
164
117
|
async function resolveDatasetFromOptions(options, apiClient) {
|
|
165
118
|
if (options.datasetId) {
|
|
166
119
|
return resolveDataset(options.datasetId, 'id', apiClient);
|
|
@@ -186,18 +139,6 @@ function requireDatasetName(datasetName) {
|
|
|
186
139
|
function isTemplateOperation(operation) {
|
|
187
140
|
return operation.type === TemplateOperationType.template_operation;
|
|
188
141
|
}
|
|
189
|
-
function isSqlOperation(operation) {
|
|
190
|
-
return operation.type === SqlOperationType.sql_operation;
|
|
191
|
-
}
|
|
192
|
-
function isRawLogsSink(operation) {
|
|
193
|
-
return operation.type === LogsIcebergTableSinkType.logs_iceberg_table_sink &&
|
|
194
|
-
operation.name.startsWith(RAW_LOGS_SINK_NAME_PREFIX);
|
|
195
|
-
}
|
|
196
|
-
function isTraceReducerWithDataset(operation) {
|
|
197
|
-
return operation.type === TraceReducerType.trace_reducer &&
|
|
198
|
-
typeof operation.datasetId === 'string' &&
|
|
199
|
-
operation.datasetId.length > 0;
|
|
200
|
-
}
|
|
201
142
|
function isOperation(operation) {
|
|
202
143
|
return operation !== undefined;
|
|
203
144
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signal-source.js","sourceRoot":"","sources":["../../../src/main/typescript/lib/signal-source.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,8BAA8B,EAC9B,
|
|
1
|
+
{"version":3,"file":"signal-source.js","sourceRoot":"","sources":["../../../src/main/typescript/lib/signal-source.ts"],"names":[],"mappings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C,OAAO,CAAC,WAAW,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC;AACpF,CAAC;AAED,KAAK,UAAU,cAAc,CAC3B,SAAiB,EACjB,aAA4B,EAC5B,SAAgC;IAEhC,MAAM,OAAO,GAAG,aAAa,KAAK,IAAI;QACpC,CAAC,CAAC,MAAM,SAAS,CAAC,UAAU,CAAC,SAAS,CAAC;QACvC,CAAC,CAAC,MAAM,SAAS,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;IAC7C,MAAM,EAAE,GAAG,OAAO,EAAE,EAAE,CAAC;IACvB,IAAI,CAAC,OAAO,IAAI,CAAC,EAAE,EAAE,CAAC;QACpB,MAAM,IAAI,KAAK,CAAC,sBAAsB,SAAS,EAAE,CAAC,CAAC;IACrD,CAAC;IACD,OAAO,EAAE,GAAG,OAAO,EAAE,EAAE,EAAE,CAAC;AAC5B,CAAC;AAED,SAAS,kBAAkB,CAAC,WAA+B;IACzD,IAAI,CAAC,WAAW,EAAE,CAAC;QACjB,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAC;IAChD,CAAC;IACD,OAAO,WAAW,CAAC;AACrB,CAAC;AAED,SAAS,mBAAmB,CAAC,SAA0B;IACrD,OAAO,SAAS,CAAC,IAAI,KAAK,qBAAqB,CAAC,kBAAkB,CAAC;AACrE,CAAC;AAED,SAAS,WAAW,CAAC,SAAsC;IACzD,OAAO,SAAS,KAAK,SAAS,CAAC;AACjC,CAAC"}
|
|
@@ -956,6 +956,26 @@ export interface paths {
|
|
|
956
956
|
patch?: never;
|
|
957
957
|
trace?: never;
|
|
958
958
|
};
|
|
959
|
+
"/v1/datasets/{id}/data-types": {
|
|
960
|
+
parameters: {
|
|
961
|
+
query?: never;
|
|
962
|
+
header?: never;
|
|
963
|
+
path?: never;
|
|
964
|
+
cookie?: never;
|
|
965
|
+
};
|
|
966
|
+
/**
|
|
967
|
+
* Get the data types a dataset holds
|
|
968
|
+
* @description Returns the data types the dataset holds, of logs_raw (logs) and spans_raw (traces). A type is held once a pipeline that writes it to the dataset is created or updated, and then stays held, even after the pipeline stops or retention empties the table.
|
|
969
|
+
*/
|
|
970
|
+
get: operations["getDatasetDataTypes"];
|
|
971
|
+
put?: never;
|
|
972
|
+
post?: never;
|
|
973
|
+
delete?: never;
|
|
974
|
+
options?: never;
|
|
975
|
+
head?: never;
|
|
976
|
+
patch?: never;
|
|
977
|
+
trace?: never;
|
|
978
|
+
};
|
|
959
979
|
"/v1/datasets/{id}/estimation-config": {
|
|
960
980
|
parameters: {
|
|
961
981
|
query?: never;
|
|
@@ -4874,6 +4894,12 @@ export interface components {
|
|
|
4874
4894
|
* @default 3
|
|
4875
4895
|
*/
|
|
4876
4896
|
maxConcurrentInvestigations?: number;
|
|
4897
|
+
/**
|
|
4898
|
+
* Format: int32
|
|
4899
|
+
* @description How many of the agent's signal-triggered investigations may wait in the queue; past it, intake drops the agent's new signals without recording an investigation. Scheduled and manual runs do not count. Null falls back to 1000, and an update that leaves it out keeps it.
|
|
4900
|
+
* @default 1000
|
|
4901
|
+
*/
|
|
4902
|
+
maxQueuedInvestigations?: number;
|
|
4877
4903
|
/**
|
|
4878
4904
|
* Format: int32
|
|
4879
4905
|
* @default 3000000
|
|
@@ -4893,6 +4919,11 @@ export interface components {
|
|
|
4893
4919
|
AgentConfigPayload: {
|
|
4894
4920
|
/** Format: int64 */
|
|
4895
4921
|
agentMaxTokens?: number;
|
|
4922
|
+
/**
|
|
4923
|
+
* @description What the agent is for; null for a triage agent.
|
|
4924
|
+
* @enum {string}
|
|
4925
|
+
*/
|
|
4926
|
+
agentType?: AgentConfigPayloadAgentType;
|
|
4896
4927
|
/** Format: int32 */
|
|
4897
4928
|
automaticSignalMaxQueueAgeMinutes?: number;
|
|
4898
4929
|
/** @enum {string} */
|
|
@@ -4915,12 +4946,19 @@ export interface components {
|
|
|
4915
4946
|
issuePickup?: components["schemas"]["AgentIssuePickup"];
|
|
4916
4947
|
/** Format: int32 */
|
|
4917
4948
|
maxConcurrentInvestigations?: number;
|
|
4949
|
+
/**
|
|
4950
|
+
* Format: int32
|
|
4951
|
+
* @description How many of the agent's signal-triggered investigations may wait in the queue; past it, intake drops the agent's new signals without recording an investigation. Scheduled and manual runs do not count. Null falls back to 1000, and an update that leaves it out keeps it.
|
|
4952
|
+
*/
|
|
4953
|
+
maxQueuedInvestigations?: number;
|
|
4918
4954
|
/** Format: int32 */
|
|
4919
4955
|
maxTokens?: number;
|
|
4920
4956
|
/** Format: int32 */
|
|
4921
4957
|
maxTurns?: number;
|
|
4922
4958
|
memoryConfiguration?: components["schemas"]["AgentMemoryConfiguration"];
|
|
4923
4959
|
modelConfiguration: components["schemas"]["ModelConfiguration"];
|
|
4960
|
+
/** @description For the churn specialist only: whether it also runs on a pipeline that is not in churn mode. Grepr creates it with true, and unset means true; an update that leaves it out keeps it, and other agents have none. */
|
|
4961
|
+
runOutsideChurnMode?: boolean;
|
|
4924
4962
|
schedule?: components["schemas"]["AgentSchedule"];
|
|
4925
4963
|
serviceAccountId: string;
|
|
4926
4964
|
systemPrompt: string;
|
|
@@ -4952,6 +4990,11 @@ export interface components {
|
|
|
4952
4990
|
issuePickup: components["schemas"]["AgentIssuePickup"];
|
|
4953
4991
|
/** Format: int32 */
|
|
4954
4992
|
maxConcurrentInvestigations?: number;
|
|
4993
|
+
/**
|
|
4994
|
+
* Format: int32
|
|
4995
|
+
* @description How many of the agent's signal-triggered investigations may wait in the queue; past it, intake drops the agent's new signals without recording an investigation. Scheduled and manual runs do not count. Null falls back to 1000, and an update that leaves it out keeps it.
|
|
4996
|
+
*/
|
|
4997
|
+
maxQueuedInvestigations?: number;
|
|
4955
4998
|
/** Format: int32 */
|
|
4956
4999
|
maxTokens?: number;
|
|
4957
5000
|
/** Format: int32 */
|
|
@@ -4959,6 +5002,8 @@ export interface components {
|
|
|
4959
5002
|
memoryConfiguration?: components["schemas"]["AgentMemoryConfiguration"];
|
|
4960
5003
|
modelConfiguration: components["schemas"]["ModelConfiguration"];
|
|
4961
5004
|
name: string;
|
|
5005
|
+
/** @description For the churn specialist only: whether it also runs on a pipeline that is not in churn mode. Grepr creates it with true, and unset means true; an update that leaves it out keeps it, and other agents have none. */
|
|
5006
|
+
runOutsideChurnMode?: boolean;
|
|
4962
5007
|
schedule?: components["schemas"]["AgentSchedule"];
|
|
4963
5008
|
serviceAccountId: string;
|
|
4964
5009
|
systemPrompt: string;
|
|
@@ -5099,6 +5144,8 @@ export interface components {
|
|
|
5099
5144
|
recordPolicy?: AgentMemoryPolicyRecordPolicy;
|
|
5100
5145
|
};
|
|
5101
5146
|
AgentPipelineSubscription: {
|
|
5147
|
+
/** Format: date-time */
|
|
5148
|
+
churnModeSince?: string;
|
|
5102
5149
|
jobId: string;
|
|
5103
5150
|
/** Format: date-time */
|
|
5104
5151
|
pausedAt?: string;
|
|
@@ -5549,10 +5596,11 @@ export interface components {
|
|
|
5549
5596
|
*/
|
|
5550
5597
|
message: string;
|
|
5551
5598
|
/**
|
|
5552
|
-
* @description Where the rule was broken, as a path into the request: 'select', 'select[1].expression', 'select[1].alias', 'groupBy[0]', 'window.size', 'window.slide', 'having', 'orderBy[2].expression', 'limit', 'scanBudgetBytes', 'predicate', or 'query' for a failure that names no single item.
|
|
5599
|
+
* @description Where the rule was broken, as a path into the request: 'select', 'select[1].expression', 'select[1].alias', 'groupBy[0]', 'window.size', 'window.slide', 'having', 'orderBy[2].expression', 'sql', 'limit', 'scanBudgetBytes', 'predicate', or 'query' for a failure that names no single item.
|
|
5553
5600
|
* @example select[1].alias
|
|
5554
5601
|
*/
|
|
5555
5602
|
path: string;
|
|
5603
|
+
range?: components["schemas"]["AnalyticsDiagnosticRange"];
|
|
5556
5604
|
};
|
|
5557
5605
|
/** @description A change that resolves this diagnostic, when the server has verified one: today, the GROUP BY entry that makes an ungrouped SELECT expression valid. */
|
|
5558
5606
|
AnalyticsDiagnosticFix: {
|
|
@@ -5562,10 +5610,33 @@ export interface components {
|
|
|
5562
5610
|
*/
|
|
5563
5611
|
addGroupBy: string;
|
|
5564
5612
|
};
|
|
5613
|
+
/** @description For a diagnostic on 'sql', the part of the query's text it is about, when the server can tell. */
|
|
5614
|
+
AnalyticsDiagnosticRange: {
|
|
5615
|
+
/**
|
|
5616
|
+
* Format: int32
|
|
5617
|
+
* @example 19
|
|
5618
|
+
*/
|
|
5619
|
+
endColumn: number;
|
|
5620
|
+
/**
|
|
5621
|
+
* Format: int32
|
|
5622
|
+
* @example 3
|
|
5623
|
+
*/
|
|
5624
|
+
endLine: number;
|
|
5625
|
+
/**
|
|
5626
|
+
* Format: int32
|
|
5627
|
+
* @example 7
|
|
5628
|
+
*/
|
|
5629
|
+
startColumn: number;
|
|
5630
|
+
/**
|
|
5631
|
+
* Format: int32
|
|
5632
|
+
* @example 3
|
|
5633
|
+
*/
|
|
5634
|
+
startLine: number;
|
|
5635
|
+
};
|
|
5565
5636
|
AnalyticsDraftRequest: {
|
|
5566
|
-
/** @description Dataset
|
|
5637
|
+
/** @description Dataset a builder query reads. Supplying it checks the scan budget against that dataset's ceiling and requires VIEW permission on it. A Grepr SQL query names its own dataset, which this must match when given. */
|
|
5567
5638
|
datasetId?: string;
|
|
5568
|
-
query: components["schemas"]["
|
|
5639
|
+
query: components["schemas"]["AnalyticsQuery"];
|
|
5569
5640
|
/**
|
|
5570
5641
|
* Format: int64
|
|
5571
5642
|
* @description Bytes the run may scan, checked against the organization's ceiling. Zero stands for a budget field left empty and is reported as a diagnostic.
|
|
@@ -5584,9 +5655,12 @@ export interface components {
|
|
|
5584
5655
|
/** @description The call, in the analytics source language. */
|
|
5585
5656
|
expression: string;
|
|
5586
5657
|
};
|
|
5658
|
+
/** @description A column a query reads: its name, its type and, for a struct, its fields. */
|
|
5587
5659
|
AnalyticsField: {
|
|
5588
5660
|
/** @description Format string for a nested key accessor, when applicable. */
|
|
5589
5661
|
accessorTemplate?: string;
|
|
5662
|
+
/** @description A struct column's fields, in order, each with its own fields when it is a struct. */
|
|
5663
|
+
fields?: components["schemas"]["AnalyticsField"][];
|
|
5590
5664
|
name: string;
|
|
5591
5665
|
type: string;
|
|
5592
5666
|
};
|
|
@@ -5658,8 +5732,32 @@ export interface components {
|
|
|
5658
5732
|
/** @description Complete analytical query to execute. */
|
|
5659
5733
|
AnalyticsQuery: {
|
|
5660
5734
|
type: string;
|
|
5661
|
-
} & components["schemas"]["StructuredAnalyticsQuery"];
|
|
5662
|
-
/** @description
|
|
5735
|
+
} & (components["schemas"]["StructuredAnalyticsQuery"] | components["schemas"]["SqlAnalyticsQuery"]);
|
|
5736
|
+
/** @description The outermost SELECT's GROUP BY, by result column name. */
|
|
5737
|
+
AnalyticsResultGrouping: {
|
|
5738
|
+
/** @description Whether every GROUP BY entry names a selected column. */
|
|
5739
|
+
allSelected?: boolean;
|
|
5740
|
+
/** @description The other GROUP BY keys' columns, in GROUP BY order. */
|
|
5741
|
+
keys: string[];
|
|
5742
|
+
/** @description The column of the first GROUP BY key that buckets a time, FLOOR(ts TO unit); null when none does. */
|
|
5743
|
+
time?: string;
|
|
5744
|
+
/**
|
|
5745
|
+
* @description The time bucket's unit; null with no time column.
|
|
5746
|
+
* @enum {string}
|
|
5747
|
+
*/
|
|
5748
|
+
unit?: AnalyticsResultGroupingUnit;
|
|
5749
|
+
};
|
|
5750
|
+
/** @description What a Grepr SQL run's result columns are. Each column's kind comes from the type the engine reports for it; whether the rows are ordered and the grouping come from the query's outermost SELECT. */
|
|
5751
|
+
AnalyticsResultShape: {
|
|
5752
|
+
grouping?: components["schemas"]["AnalyticsResultGrouping"];
|
|
5753
|
+
/** @description Each column's kind, in the order of the record's columns. */
|
|
5754
|
+
kinds: AnalyticsResultShapeKinds[];
|
|
5755
|
+
/** @description Whether the outermost query has an ORDER BY, so the rows come in its order. */
|
|
5756
|
+
ordered?: boolean;
|
|
5757
|
+
/** @description Whether the query uses ROLLUP, CUBE or GROUPING SETS anywhere, so its rows may include subtotals that share keys with the rows they add up. */
|
|
5758
|
+
subtotals?: boolean;
|
|
5759
|
+
};
|
|
5760
|
+
/** @description Dataset tables a builder query reads, under logical aliases. A Grepr SQL query names its own dataset and tables, so its source has none. */
|
|
5663
5761
|
AnalyticsTableBinding: {
|
|
5664
5762
|
/** @description Logical table name used by the analytical query. */
|
|
5665
5763
|
alias: string;
|
|
@@ -5714,6 +5812,10 @@ export interface components {
|
|
|
5714
5812
|
promotedTagKeys?: string[];
|
|
5715
5813
|
/** @description Words the analytics SQL grammar reserves; they cannot be used as result aliases. */
|
|
5716
5814
|
reservedWords?: string[];
|
|
5815
|
+
/** @description The columns a Grepr SQL query reads from each table type it can read, by table key (logs_raw, spans_raw), in the order * returns them. */
|
|
5816
|
+
tableFields?: {
|
|
5817
|
+
[key: string]: components["schemas"]["AnalyticsField"][];
|
|
5818
|
+
};
|
|
5717
5819
|
};
|
|
5718
5820
|
AndEventPredicate: {
|
|
5719
5821
|
/**
|
|
@@ -5959,8 +6061,8 @@ export interface components {
|
|
|
5959
6061
|
* @default 107374182400
|
|
5960
6062
|
*/
|
|
5961
6063
|
scanBudgetBytes?: number;
|
|
5962
|
-
/** @description Dataset tables
|
|
5963
|
-
tables
|
|
6064
|
+
/** @description Dataset tables a builder query reads, under logical aliases. A Grepr SQL query names its own dataset and tables, so its source has none. */
|
|
6065
|
+
tables?: components["schemas"]["AnalyticsTableBinding"][];
|
|
5964
6066
|
/**
|
|
5965
6067
|
* @description Executes an analytical query against dataset tables using Athena. (enum property replaced by openapi-typescript)
|
|
5966
6068
|
* @enum {string}
|
|
@@ -6725,6 +6827,11 @@ export interface components {
|
|
|
6725
6827
|
*/
|
|
6726
6828
|
startDate: string;
|
|
6727
6829
|
};
|
|
6830
|
+
CoveredSignal: {
|
|
6831
|
+
fix?: string;
|
|
6832
|
+
maskedMessage?: string;
|
|
6833
|
+
message?: string;
|
|
6834
|
+
};
|
|
6728
6835
|
CreateAgentSessionAnalyticsJob: {
|
|
6729
6836
|
datasetId: string;
|
|
6730
6837
|
/** Format: date-time */
|
|
@@ -7425,6 +7532,13 @@ export interface components {
|
|
|
7425
7532
|
*/
|
|
7426
7533
|
teamIds?: string[];
|
|
7427
7534
|
};
|
|
7535
|
+
DatasetDataTypes: {
|
|
7536
|
+
/**
|
|
7537
|
+
* @description The data types the dataset holds, by table key: logs_raw (logs) and spans_raw (traces). A type is held once a pipeline that writes it to the dataset is created or updated, and then stays held, even after the pipeline stops or retention empties the table.
|
|
7538
|
+
* @default []
|
|
7539
|
+
*/
|
|
7540
|
+
types: AnalyticsTableBindingTable[];
|
|
7541
|
+
};
|
|
7428
7542
|
DatasetEstimationConfig: {
|
|
7429
7543
|
/** Format: date-time */
|
|
7430
7544
|
readonly createdAt?: string;
|
|
@@ -7695,6 +7809,8 @@ export interface components {
|
|
|
7695
7809
|
};
|
|
7696
7810
|
/** @description A streaming event record. Records are newline-separated as per the chunked output standard. Each record will contain a 'state' field and potentially a 'data' field. When the state is 'RUNNING', the 'data' field will be valid. In all other states, the 'data' field will be null. */
|
|
7697
7811
|
EventRecord: {
|
|
7812
|
+
/** @description An analytics run's result column names, in the query's order. Sent once: on the first row's record, or on the terminal record when there are no rows. Null on every other record. */
|
|
7813
|
+
columns?: string[];
|
|
7698
7814
|
data?: components["schemas"]["ReadableData"];
|
|
7699
7815
|
/** @description The token that should be used by the client to send a heartbeat back to the server. This will usually only be set for the 'HEARTBEAT' state. Heartbeats back from the client are only required when heartbeatToken is not null. */
|
|
7700
7816
|
heartbeatToken?: string;
|
|
@@ -7703,6 +7819,9 @@ export interface components {
|
|
|
7703
7819
|
* @enum {string}
|
|
7704
7820
|
*/
|
|
7705
7821
|
jobState: EventRecordJobState;
|
|
7822
|
+
/** @description Why a Grepr SQL run failed, in a sentence of the server's own, never the query engine's text. Set on that run's failed terminal record. Null on every other record. */
|
|
7823
|
+
message?: string;
|
|
7824
|
+
resultShape?: components["schemas"]["AnalyticsResultShape"];
|
|
7706
7825
|
};
|
|
7707
7826
|
ExactAttributesMergeStrategy: {
|
|
7708
7827
|
/**
|
|
@@ -8597,6 +8716,7 @@ export interface components {
|
|
|
8597
8716
|
InvestigationTranscript: {
|
|
8598
8717
|
actions?: components["schemas"]["InvestigationAction"][];
|
|
8599
8718
|
agentId?: string;
|
|
8719
|
+
coveredSignals?: components["schemas"]["CoveredSignal"][];
|
|
8600
8720
|
/** Format: date-time */
|
|
8601
8721
|
createdAt?: string;
|
|
8602
8722
|
decision?: components["schemas"]["DecisionOutcome"];
|
|
@@ -11799,6 +11919,11 @@ export interface components {
|
|
|
11799
11919
|
PipelineChangeRequest: {
|
|
11800
11920
|
/** @description Whether to apply the change directly (true) or record it as a suggestion for a human to review (false). This expresses intent only: the server enforces the proposing agent's approval mode, so a suggest-only agent's change is always recorded as a suggestion no matter what is passed here. */
|
|
11801
11921
|
autoApply?: boolean;
|
|
11922
|
+
/**
|
|
11923
|
+
* Format: int64
|
|
11924
|
+
* @description The pipeline version the change was computed from, as get_pipeline returned it. A change that replaces a signal mask or drop rule another investigation's fix changed in a later version is refused. Without it, fixes applied since the proposing investigation started count as later.
|
|
11925
|
+
*/
|
|
11926
|
+
baseVersion?: number;
|
|
11802
11927
|
/** @description One or two sentences a human reviewer reads first: what the change does and why. Required when the change is recorded as a suggestion. */
|
|
11803
11928
|
changeDescription?: string;
|
|
11804
11929
|
/** @description A caller-chosen idempotency key for this change, unique within the investigation. Resending the same changeId records one suggestion rather than a duplicate, so a retried call is safe. Required when the change is recorded as a suggestion. */
|
|
@@ -14021,6 +14146,45 @@ export interface components {
|
|
|
14021
14146
|
*/
|
|
14022
14147
|
type: SplunkLogSinkType;
|
|
14023
14148
|
};
|
|
14149
|
+
SqlAnalyticsQuery: {
|
|
14150
|
+
/** @description ID of the dataset whose tables the query reads. */
|
|
14151
|
+
datasetId: string;
|
|
14152
|
+
/**
|
|
14153
|
+
* Format: date-time
|
|
14154
|
+
* @description End of the time interval every table covers.
|
|
14155
|
+
*/
|
|
14156
|
+
end: string;
|
|
14157
|
+
/**
|
|
14158
|
+
* Format: int32
|
|
14159
|
+
* @description The most rows returned. A LIMIT in the query can only lower it.
|
|
14160
|
+
* @default 2500
|
|
14161
|
+
*/
|
|
14162
|
+
limit?: number;
|
|
14163
|
+
/** @description One read-only Grepr SQL query. It reads only the tables' aliases, each bounded by the time range and its filter everywhere the query names it. */
|
|
14164
|
+
sql: string;
|
|
14165
|
+
/**
|
|
14166
|
+
* Format: date-time
|
|
14167
|
+
* @description Start of the time interval every table covers.
|
|
14168
|
+
*/
|
|
14169
|
+
start: string;
|
|
14170
|
+
/** @description The tables the query reads, each under its own alias. */
|
|
14171
|
+
tables: components["schemas"]["SqlAnalyticsTable"][];
|
|
14172
|
+
/**
|
|
14173
|
+
* @description discriminator enum property added by openapi-typescript
|
|
14174
|
+
* @enum {string}
|
|
14175
|
+
*/
|
|
14176
|
+
type: SqlAnalyticsQueryType;
|
|
14177
|
+
};
|
|
14178
|
+
SqlAnalyticsTable: {
|
|
14179
|
+
/** @description The name the SQL reads the table by. Unique within the query, ignoring case. */
|
|
14180
|
+
alias: string;
|
|
14181
|
+
filter: components["schemas"]["EventPredicate"];
|
|
14182
|
+
/**
|
|
14183
|
+
* @description The dataset's table the alias reads: `logs_raw` for logs, `spans_raw` for traces.
|
|
14184
|
+
* @enum {string}
|
|
14185
|
+
*/
|
|
14186
|
+
table: AnalyticsTableBindingTable;
|
|
14187
|
+
};
|
|
14024
14188
|
/** @description Base class for SQL statements */
|
|
14025
14189
|
SqlExecutable: {
|
|
14026
14190
|
eventTimeAttribute?: string;
|
|
@@ -15652,8 +15816,8 @@ export interface components {
|
|
|
15652
15816
|
* @default 107374182400
|
|
15653
15817
|
*/
|
|
15654
15818
|
scanBudgetBytes?: number;
|
|
15655
|
-
/** @description Dataset tables
|
|
15656
|
-
tables
|
|
15819
|
+
/** @description Dataset tables a builder query reads, under logical aliases. A Grepr SQL query names its own dataset and tables, so its source has none. */
|
|
15820
|
+
tables?: components["schemas"]["AnalyticsTableBinding"][];
|
|
15657
15821
|
/**
|
|
15658
15822
|
* @description Executes an analytical query using a Trino query engine. (enum property replaced by openapi-typescript)
|
|
15659
15823
|
* @enum {string}
|
|
@@ -16863,6 +17027,7 @@ export type SchemaAllQueryNode = components["schemas"]["AllQueryNode"];
|
|
|
16863
17027
|
export type SchemaAnalyticsCompletion = components["schemas"]["AnalyticsCompletion"];
|
|
16864
17028
|
export type SchemaAnalyticsDiagnostic = components["schemas"]["AnalyticsDiagnostic"];
|
|
16865
17029
|
export type SchemaAnalyticsDiagnosticFix = components["schemas"]["AnalyticsDiagnosticFix"];
|
|
17030
|
+
export type SchemaAnalyticsDiagnosticRange = components["schemas"]["AnalyticsDiagnosticRange"];
|
|
16866
17031
|
export type SchemaAnalyticsDraftRequest = components["schemas"]["AnalyticsDraftRequest"];
|
|
16867
17032
|
export type SchemaAnalyticsDraftResponse = components["schemas"]["AnalyticsDraftResponse"];
|
|
16868
17033
|
export type SchemaAnalyticsExample = components["schemas"]["AnalyticsExample"];
|
|
@@ -16873,6 +17038,8 @@ export type SchemaAnalyticsOrderBy = components["schemas"]["AnalyticsOrderBy"];
|
|
|
16873
17038
|
export type SchemaAnalyticsParameter = components["schemas"]["AnalyticsParameter"];
|
|
16874
17039
|
export type SchemaAnalyticsProjection = components["schemas"]["AnalyticsProjection"];
|
|
16875
17040
|
export type SchemaAnalyticsQuery = components["schemas"]["AnalyticsQuery"];
|
|
17041
|
+
export type SchemaAnalyticsResultGrouping = components["schemas"]["AnalyticsResultGrouping"];
|
|
17042
|
+
export type SchemaAnalyticsResultShape = components["schemas"]["AnalyticsResultShape"];
|
|
16876
17043
|
export type SchemaAnalyticsTableBinding = components["schemas"]["AnalyticsTableBinding"];
|
|
16877
17044
|
export type SchemaAnalyticsTimeWindow = components["schemas"]["AnalyticsTimeWindow"];
|
|
16878
17045
|
export type SchemaAnalyticsVocabularyResponse = components["schemas"]["AnalyticsVocabularyResponse"];
|
|
@@ -16941,6 +17108,7 @@ export type SchemaConsoleSetupInfo = components["schemas"]["ConsoleSetupInfo"];
|
|
|
16941
17108
|
export type SchemaConstantSampling = components["schemas"]["ConstantSampling"];
|
|
16942
17109
|
export type SchemaContextPart = components["schemas"]["ContextPart"];
|
|
16943
17110
|
export type SchemaContract = components["schemas"]["Contract"];
|
|
17111
|
+
export type SchemaCoveredSignal = components["schemas"]["CoveredSignal"];
|
|
16944
17112
|
export type SchemaCreateAgentSessionAnalyticsJob = components["schemas"]["CreateAgentSessionAnalyticsJob"];
|
|
16945
17113
|
export type SchemaCreateBackfillJob = components["schemas"]["CreateBackfillJob"];
|
|
16946
17114
|
export type SchemaCreateChatRequest = components["schemas"]["CreateChatRequest"];
|
|
@@ -16972,6 +17140,7 @@ export type SchemaDatadogStatsSink = components["schemas"]["DatadogStatsSink"];
|
|
|
16972
17140
|
export type SchemaDatadogTraceAgentSource = components["schemas"]["DatadogTraceAgentSource"];
|
|
16973
17141
|
export type SchemaDatadogTraceSink = components["schemas"]["DatadogTraceSink"];
|
|
16974
17142
|
export type SchemaDatasetCreate = components["schemas"]["DatasetCreate"];
|
|
17143
|
+
export type SchemaDatasetDataTypes = components["schemas"]["DatasetDataTypes"];
|
|
16975
17144
|
export type SchemaDatasetEstimationConfig = components["schemas"]["DatasetEstimationConfig"];
|
|
16976
17145
|
export type SchemaDatasetRead = components["schemas"]["DatasetRead"];
|
|
16977
17146
|
export type SchemaDatasetUpdate = components["schemas"]["DatasetUpdate"];
|
|
@@ -17320,6 +17489,8 @@ export type SchemaSplunk = components["schemas"]["Splunk"];
|
|
|
17320
17489
|
export type SchemaSplunkLogAgentSource = components["schemas"]["SplunkLogAgentSource"];
|
|
17321
17490
|
export type SchemaSplunkLogHttpSource = components["schemas"]["SplunkLogHttpSource"];
|
|
17322
17491
|
export type SchemaSplunkLogSink = components["schemas"]["SplunkLogSink"];
|
|
17492
|
+
export type SchemaSqlAnalyticsQuery = components["schemas"]["SqlAnalyticsQuery"];
|
|
17493
|
+
export type SchemaSqlAnalyticsTable = components["schemas"]["SqlAnalyticsTable"];
|
|
17323
17494
|
export type SchemaSqlExecutable = components["schemas"]["SqlExecutable"];
|
|
17324
17495
|
export type SchemaSqlIoStatement = components["schemas"]["SqlIoStatement"];
|
|
17325
17496
|
export type SchemaSqlNode = components["schemas"]["SqlNode"];
|
|
@@ -19655,6 +19826,35 @@ export interface operations {
|
|
|
19655
19826
|
};
|
|
19656
19827
|
};
|
|
19657
19828
|
};
|
|
19829
|
+
getDatasetDataTypes: {
|
|
19830
|
+
parameters: {
|
|
19831
|
+
query?: never;
|
|
19832
|
+
header?: never;
|
|
19833
|
+
path: {
|
|
19834
|
+
id: string;
|
|
19835
|
+
};
|
|
19836
|
+
cookie?: never;
|
|
19837
|
+
};
|
|
19838
|
+
requestBody?: never;
|
|
19839
|
+
responses: {
|
|
19840
|
+
/** @description The types the dataset holds. */
|
|
19841
|
+
200: {
|
|
19842
|
+
headers: {
|
|
19843
|
+
[name: string]: unknown;
|
|
19844
|
+
};
|
|
19845
|
+
content: {
|
|
19846
|
+
"application/json": components["schemas"]["DatasetDataTypes"];
|
|
19847
|
+
};
|
|
19848
|
+
};
|
|
19849
|
+
/** @description Dataset not found. */
|
|
19850
|
+
404: {
|
|
19851
|
+
headers: {
|
|
19852
|
+
[name: string]: unknown;
|
|
19853
|
+
};
|
|
19854
|
+
content?: never;
|
|
19855
|
+
};
|
|
19856
|
+
};
|
|
19857
|
+
};
|
|
19658
19858
|
getDatasetEstimationConfig: {
|
|
19659
19859
|
parameters: {
|
|
19660
19860
|
query?: never;
|
|
@@ -30235,6 +30435,9 @@ export declare enum AgentConfigCreateIssueHandoffMode {
|
|
|
30235
30435
|
REQUIRE_TRIAGE = "REQUIRE_TRIAGE",
|
|
30236
30436
|
ALLOW_READY = "ALLOW_READY"
|
|
30237
30437
|
}
|
|
30438
|
+
export declare enum AgentConfigPayloadAgentType {
|
|
30439
|
+
CHURN_SPECIALIST = "CHURN_SPECIALIST"
|
|
30440
|
+
}
|
|
30238
30441
|
export declare enum AgentLogProcessorType {
|
|
30239
30442
|
agent_log_processor = "agent-log-processor"
|
|
30240
30443
|
}
|
|
@@ -30314,6 +30517,21 @@ export declare enum AnalyticsParameterType {
|
|
|
30314
30517
|
TIME_UNIT = "TIME_UNIT",
|
|
30315
30518
|
LITERAL = "LITERAL"
|
|
30316
30519
|
}
|
|
30520
|
+
export declare enum AnalyticsResultGroupingUnit {
|
|
30521
|
+
SECOND = "SECOND",
|
|
30522
|
+
MINUTE = "MINUTE",
|
|
30523
|
+
HOUR = "HOUR",
|
|
30524
|
+
DAY = "DAY",
|
|
30525
|
+
WEEK = "WEEK",
|
|
30526
|
+
MONTH = "MONTH",
|
|
30527
|
+
QUARTER = "QUARTER",
|
|
30528
|
+
YEAR = "YEAR"
|
|
30529
|
+
}
|
|
30530
|
+
export declare enum AnalyticsResultShapeKinds {
|
|
30531
|
+
TIME = "TIME",
|
|
30532
|
+
NUMBER = "NUMBER",
|
|
30533
|
+
OTHER = "OTHER"
|
|
30534
|
+
}
|
|
30317
30535
|
export declare enum AnalyticsTableBindingTable {
|
|
30318
30536
|
logs_raw = "logs_raw",
|
|
30319
30537
|
logs_dedup = "logs_dedup",
|
|
@@ -30421,7 +30639,8 @@ export declare enum ChangeFindingCode {
|
|
|
30421
30639
|
DISALLOWED_INPUT_CHANGE = "DISALLOWED_INPUT_CHANGE",
|
|
30422
30640
|
INVALID_SIGNAL_CONFIG = "INVALID_SIGNAL_CONFIG",
|
|
30423
30641
|
UNVERIFIABLE_CHANGE = "UNVERIFIABLE_CHANGE",
|
|
30424
|
-
NO_EFFECTIVE_CHANGE = "NO_EFFECTIVE_CHANGE"
|
|
30642
|
+
NO_EFFECTIVE_CHANGE = "NO_EFFECTIVE_CHANGE",
|
|
30643
|
+
STALE_SIGNAL_ENTRY = "STALE_SIGNAL_ENTRY"
|
|
30425
30644
|
}
|
|
30426
30645
|
export declare enum ChatActionCategory {
|
|
30427
30646
|
CHANGE_PIPELINES = "CHANGE_PIPELINES",
|
|
@@ -31083,6 +31302,9 @@ export declare enum SplunkLogHttpSourceType {
|
|
|
31083
31302
|
export declare enum SplunkLogSinkType {
|
|
31084
31303
|
splunk_log_sink = "splunk-log-sink"
|
|
31085
31304
|
}
|
|
31305
|
+
export declare enum SqlAnalyticsQueryType {
|
|
31306
|
+
sql_analytics_query = "sql-analytics-query"
|
|
31307
|
+
}
|
|
31086
31308
|
export declare enum SqlIoStatementType {
|
|
31087
31309
|
sql_io = "sql_io"
|
|
31088
31310
|
}
|