-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
telemetry and reference extraction/injection for expression service (#…
- Loading branch information
Showing
57 changed files
with
674 additions
and
268 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
...expressions/public/kibana-plugin-plugins-expressions-public.executor.extract.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) > [Executor](./kibana-plugin-plugins-expressions-public.executor.md) > [extract](./kibana-plugin-plugins-expressions-public.executor.extract.md) | ||
|
||
## Executor.extract() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
extract(ast: ExpressionAstExpression): { | ||
state: ExpressionAstExpression; | ||
references: SavedObjectReference[]; | ||
}; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| ast | <code>ExpressionAstExpression</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`{ | ||
state: ExpressionAstExpression; | ||
references: SavedObjectReference[]; | ||
}` | ||
|
23 changes: 23 additions & 0 deletions
23
.../expressions/public/kibana-plugin-plugins-expressions-public.executor.inject.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) > [Executor](./kibana-plugin-plugins-expressions-public.executor.md) > [inject](./kibana-plugin-plugins-expressions-public.executor.inject.md) | ||
|
||
## Executor.inject() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
inject(ast: ExpressionAstExpression, references: SavedObjectReference[]): ExpressionAstExpression; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| ast | <code>ExpressionAstExpression</code> | | | ||
| references | <code>SavedObjectReference[]</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`ExpressionAstExpression` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...pressions/public/kibana-plugin-plugins-expressions-public.executor.telemetry.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) > [Executor](./kibana-plugin-plugins-expressions-public.executor.md) > [telemetry](./kibana-plugin-plugins-expressions-public.executor.telemetry.md) | ||
|
||
## Executor.telemetry() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
telemetry(ast: ExpressionAstExpression, telemetryData: Record<string, any>): Record<string, any>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| ast | <code>ExpressionAstExpression</code> | | | ||
| telemetryData | <code>Record<string, any></code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`Record<string, any>` | ||
|
11 changes: 0 additions & 11 deletions
11
...ublic/kibana-plugin-plugins-expressions-public.expressionastexpression.chain.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
...public/kibana-plugin-plugins-expressions-public.expressionastexpression.type.md
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...lic/kibana-plugin-plugins-expressions-public.expressionastfunction.arguments.md
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
.../public/kibana-plugin-plugins-expressions-public.expressionastfunction.debug.md
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...blic/kibana-plugin-plugins-expressions-public.expressionastfunction.function.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...ions-public.expressionastfunction.type.md → ...ons-public.expressionfunction.disabled.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) > [ExpressionAstFunction](./kibana-plugin-plugins-expressions-public.expressionastfunction.md) > [type](./kibana-plugin-plugins-expressions-public.expressionastfunction.type.md) | ||
[Home](./index.md) > [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) > [ExpressionFunction](./kibana-plugin-plugins-expressions-public.expressionfunction.md) > [disabled](./kibana-plugin-plugins-expressions-public.expressionfunction.disabled.md) | ||
|
||
## ExpressionAstFunction.type property | ||
## ExpressionFunction.disabled property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
type: 'function'; | ||
disabled: boolean; | ||
``` |
14 changes: 14 additions & 0 deletions
14
...s/public/kibana-plugin-plugins-expressions-public.expressionfunction.extract.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) > [ExpressionFunction](./kibana-plugin-plugins-expressions-public.expressionfunction.md) > [extract](./kibana-plugin-plugins-expressions-public.expressionfunction.extract.md) | ||
|
||
## ExpressionFunction.extract property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
extract: (state: ExpressionAstFunction['arguments']) => { | ||
state: ExpressionAstFunction['arguments']; | ||
references: SavedObjectReference[]; | ||
}; | ||
``` |
11 changes: 11 additions & 0 deletions
11
...ns/public/kibana-plugin-plugins-expressions-public.expressionfunction.inject.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) > [ExpressionFunction](./kibana-plugin-plugins-expressions-public.expressionfunction.md) > [inject](./kibana-plugin-plugins-expressions-public.expressionfunction.inject.md) | ||
|
||
## ExpressionFunction.inject property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
inject: (state: ExpressionAstFunction['arguments'], references: SavedObjectReference[]) => ExpressionAstFunction['arguments']; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...public/kibana-plugin-plugins-expressions-public.expressionfunction.telemetry.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) > [ExpressionFunction](./kibana-plugin-plugins-expressions-public.expressionfunction.md) > [telemetry](./kibana-plugin-plugins-expressions-public.expressionfunction.telemetry.md) | ||
|
||
## ExpressionFunction.telemetry property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
telemetry: (state: ExpressionAstFunction['arguments'], telemetryData: Record<string, any>) => Record<string, any>; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...bana-plugin-plugins-expressions-public.expressionfunctiondefinition.disabled.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) > [ExpressionFunctionDefinition](./kibana-plugin-plugins-expressions-public.expressionfunctiondefinition.md) > [disabled](./kibana-plugin-plugins-expressions-public.expressionfunctiondefinition.disabled.md) | ||
|
||
## ExpressionFunctionDefinition.disabled property | ||
|
||
if set to true function will be disabled (but its migrate function will still be available) | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
disabled?: boolean; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...s/public/kibana-plugin-plugins-expressions-public.expressionsservice.extract.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) > [ExpressionsService](./kibana-plugin-plugins-expressions-public.expressionsservice.md) > [extract](./kibana-plugin-plugins-expressions-public.expressionsservice.extract.md) | ||
|
||
## ExpressionsService.extract property | ||
|
||
Extracts saved object references from expression AST | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly extract: (state: ExpressionAstExpression) => { | ||
state: ExpressionAstExpression; | ||
references: SavedObjectReference[]; | ||
}; | ||
``` |
13 changes: 13 additions & 0 deletions
13
...ns/public/kibana-plugin-plugins-expressions-public.expressionsservice.inject.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-expressions-public](./kibana-plugin-plugins-expressions-public.md) > [ExpressionsService](./kibana-plugin-plugins-expressions-public.expressionsservice.md) > [inject](./kibana-plugin-plugins-expressions-public.expressionsservice.inject.md) | ||
|
||
## ExpressionsService.inject property | ||
|
||
Injects saved object references into expression AST | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
readonly inject: (state: ExpressionAstExpression, references: SavedObjectReference[]) => ExpressionAstExpression; | ||
``` |
Oops, something went wrong.