forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Lens] Time shift metrics (elastic#98781)
- Loading branch information
Showing
116 changed files
with
3,698 additions
and
222 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...plugins/data/public/kibana-plugin-plugins-data-public.aggconfig.gettimeshift.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,15 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [AggConfig](./kibana-plugin-plugins-data-public.aggconfig.md) > [getTimeShift](./kibana-plugin-plugins-data-public.aggconfig.gettimeshift.md) | ||
|
||
## AggConfig.getTimeShift() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getTimeShift(): undefined | moment.Duration; | ||
``` | ||
<b>Returns:</b> | ||
|
||
`undefined | moment.Duration` | ||
|
15 changes: 15 additions & 0 deletions
15
...plugins/data/public/kibana-plugin-plugins-data-public.aggconfig.hastimeshift.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,15 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [AggConfig](./kibana-plugin-plugins-data-public.aggconfig.md) > [hasTimeShift](./kibana-plugin-plugins-data-public.aggconfig.hastimeshift.md) | ||
|
||
## AggConfig.hasTimeShift() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
hasTimeShift(): boolean; | ||
``` | ||
<b>Returns:</b> | ||
|
||
`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
11 changes: 11 additions & 0 deletions
11
...nt/plugins/data/public/kibana-plugin-plugins-data-public.aggconfigs.forcenow.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-data-public](./kibana-plugin-plugins-data-public.md) > [AggConfigs](./kibana-plugin-plugins-data-public.aggconfigs.md) > [forceNow](./kibana-plugin-plugins-data-public.aggconfigs.forcenow.md) | ||
|
||
## AggConfigs.forceNow property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
forceNow?: Date; | ||
``` |
72 changes: 72 additions & 0 deletions
72
...ublic/kibana-plugin-plugins-data-public.aggconfigs.getsearchsourcetimefilter.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,72 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [AggConfigs](./kibana-plugin-plugins-data-public.aggconfigs.md) > [getSearchSourceTimeFilter](./kibana-plugin-plugins-data-public.aggconfigs.getsearchsourcetimefilter.md) | ||
|
||
## AggConfigs.getSearchSourceTimeFilter() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getSearchSourceTimeFilter(forceNow?: Date): RangeFilter[] | { | ||
meta: { | ||
index: string | undefined; | ||
params: {}; | ||
alias: string; | ||
disabled: boolean; | ||
negate: boolean; | ||
}; | ||
query: { | ||
bool: { | ||
should: { | ||
bool: { | ||
filter: { | ||
range: { | ||
[x: string]: { | ||
gte: string; | ||
lte: string; | ||
}; | ||
}; | ||
}[]; | ||
}; | ||
}[]; | ||
minimum_should_match: number; | ||
}; | ||
}; | ||
}[]; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| forceNow | <code>Date</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`RangeFilter[] | { | ||
meta: { | ||
index: string | undefined; | ||
params: {}; | ||
alias: string; | ||
disabled: boolean; | ||
negate: boolean; | ||
}; | ||
query: { | ||
bool: { | ||
should: { | ||
bool: { | ||
filter: { | ||
range: { | ||
[x: string]: { | ||
gte: string; | ||
lte: string; | ||
}; | ||
}; | ||
}[]; | ||
}; | ||
}[]; | ||
minimum_should_match: number; | ||
}; | ||
}; | ||
}[]` | ||
|
15 changes: 15 additions & 0 deletions
15
...ata/public/kibana-plugin-plugins-data-public.aggconfigs.gettimeshiftinterval.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,15 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [AggConfigs](./kibana-plugin-plugins-data-public.aggconfigs.md) > [getTimeShiftInterval](./kibana-plugin-plugins-data-public.aggconfigs.gettimeshiftinterval.md) | ||
|
||
## AggConfigs.getTimeShiftInterval() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getTimeShiftInterval(): moment.Duration | undefined; | ||
``` | ||
<b>Returns:</b> | ||
|
||
`moment.Duration | undefined` | ||
|
15 changes: 15 additions & 0 deletions
15
...ugins/data/public/kibana-plugin-plugins-data-public.aggconfigs.gettimeshifts.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,15 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [AggConfigs](./kibana-plugin-plugins-data-public.aggconfigs.md) > [getTimeShifts](./kibana-plugin-plugins-data-public.aggconfigs.gettimeshifts.md) | ||
|
||
## AggConfigs.getTimeShifts() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
getTimeShifts(): Record<string, moment.Duration>; | ||
``` | ||
<b>Returns:</b> | ||
|
||
`Record<string, moment.Duration>` | ||
|
15 changes: 15 additions & 0 deletions
15
...ugins/data/public/kibana-plugin-plugins-data-public.aggconfigs.hastimeshifts.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,15 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [AggConfigs](./kibana-plugin-plugins-data-public.aggconfigs.md) > [hasTimeShifts](./kibana-plugin-plugins-data-public.aggconfigs.hastimeshifts.md) | ||
|
||
## AggConfigs.hasTimeShifts() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
hasTimeShifts(): boolean; | ||
``` | ||
<b>Returns:</b> | ||
|
||
`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
22 changes: 22 additions & 0 deletions
22
...data/public/kibana-plugin-plugins-data-public.aggconfigs.postflighttransform.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,22 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [AggConfigs](./kibana-plugin-plugins-data-public.aggconfigs.md) > [postFlightTransform](./kibana-plugin-plugins-data-public.aggconfigs.postflighttransform.md) | ||
|
||
## AggConfigs.postFlightTransform() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
postFlightTransform(response: IEsSearchResponse<any>): IEsSearchResponse<any>; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| response | <code>IEsSearchResponse<any></code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`IEsSearchResponse<any>` | ||
|
22 changes: 22 additions & 0 deletions
22
...plugins/data/public/kibana-plugin-plugins-data-public.aggconfigs.setforcenow.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,22 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [AggConfigs](./kibana-plugin-plugins-data-public.aggconfigs.md) > [setForceNow](./kibana-plugin-plugins-data-public.aggconfigs.setforcenow.md) | ||
|
||
## AggConfigs.setForceNow() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
setForceNow(now: Date | undefined): void; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| now | <code>Date | undefined</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`void` | ||
|
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
Oops, something went wrong.