-
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.
Merge branch 'master' into fix/remove-es-client
- Loading branch information
Showing
736 changed files
with
17,873 additions
and
7,715 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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
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 @@ | ||
--- | ||
name: APM Issue | ||
about: Issues related to the APM solution in Kibana | ||
labels: Team:apm | ||
title: [APM] | ||
--- | ||
|
||
**Versions** | ||
Kibana: (if relevant) | ||
APM Server: (if relevant) | ||
Elasticsearch: (if relevant) |
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
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
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
39 changes: 39 additions & 0 deletions
39
...core/public/kibana-plugin-core-public.appmountparameters.setheaderactionmenu.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,39 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-public](./kibana-plugin-core-public.md) > [AppMountParameters](./kibana-plugin-core-public.appmountparameters.md) > [setHeaderActionMenu](./kibana-plugin-core-public.appmountparameters.setheaderactionmenu.md) | ||
|
||
## AppMountParameters.setHeaderActionMenu property | ||
|
||
A function that can be used to set the mount point used to populate the application action container in the chrome header. | ||
|
||
Calling the handler multiple time will erase the current content of the action menu with the mount from the latest call. Calling the handler with `undefined` will unmount the current mount point. Calling the handler after the application has been unmounted will have no effect. | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
setHeaderActionMenu: (menuMount: MountPoint | undefined) => void; | ||
``` | ||
|
||
## Example | ||
|
||
|
||
```ts | ||
// application.tsx | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import { BrowserRouter, Route } from 'react-router-dom'; | ||
|
||
import { CoreStart, AppMountParameters } from 'src/core/public'; | ||
import { MyPluginDepsStart } from './plugin'; | ||
|
||
export renderApp = ({ element, history, setHeaderActionMenu }: AppMountParameters) => { | ||
const { renderApp } = await import('./application'); | ||
const { renderActionMenu } = await import('./action_menu'); | ||
setHeaderActionMenu((element) => { | ||
return renderActionMenu(element); | ||
}) | ||
return renderApp({ element, history }); | ||
} | ||
|
||
``` | ||
|
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 |
---|---|---|
|
@@ -7,5 +7,5 @@ | |
<b>Signature:</b> | ||
|
||
```typescript | ||
filter?: string; | ||
filter?: string | KueryNode; | ||
``` |
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
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 |
---|---|---|
|
@@ -7,5 +7,5 @@ | |
<b>Signature:</b> | ||
|
||
```typescript | ||
filter?: string; | ||
filter?: string | KueryNode; | ||
``` |
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: 0 additions & 23 deletions
23
...lugins/data/public/kibana-plugin-plugins-data-public.fieldlist._constructor_.md
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...elopment/plugins/data/public/kibana-plugin-plugins-data-public.fieldlist.add.md
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...pment/plugins/data/public/kibana-plugin-plugins-data-public.fieldlist.getall.md
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...nt/plugins/data/public/kibana-plugin-plugins-data-public.fieldlist.getbyname.md
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...nt/plugins/data/public/kibana-plugin-plugins-data-public.fieldlist.getbytype.md
This file was deleted.
Oops, something went wrong.
27 changes: 3 additions & 24 deletions
27
.../development/plugins/data/public/kibana-plugin-plugins-data-public.fieldlist.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,32 +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) > [FieldList](./kibana-plugin-plugins-data-public.fieldlist.md) | ||
[Home](./index.md) > [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) > [fieldList](./kibana-plugin-plugins-data-public.fieldlist.md) | ||
|
||
## FieldList class | ||
## fieldList variable | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export declare class FieldList extends Array<IndexPatternField> implements IIndexPatternFieldList | ||
fieldList: (specs?: FieldSpec[], shortDotsEnable?: boolean) => IIndexPatternFieldList | ||
``` | ||
## Constructors | ||
| Constructor | Modifiers | Description | | ||
| --- | --- | --- | | ||
| [(constructor)(indexPattern, specs, shortDotsEnable, onNotification)](./kibana-plugin-plugins-data-public.fieldlist._constructor_.md) | | Constructs a new instance of the <code>FieldList</code> class | | ||
## Properties | ||
| Property | Modifiers | Type | Description | | ||
| --- | --- | --- | --- | | ||
| [add](./kibana-plugin-plugins-data-public.fieldlist.add.md) | | <code>(field: FieldSpec) => void</code> | | | ||
| [getAll](./kibana-plugin-plugins-data-public.fieldlist.getall.md) | | <code>() => IndexPatternField[]</code> | | | ||
| [getByName](./kibana-plugin-plugins-data-public.fieldlist.getbyname.md) | | <code>(name: IndexPatternField['name']) => IndexPatternField | undefined</code> | | | ||
| [getByType](./kibana-plugin-plugins-data-public.fieldlist.getbytype.md) | | <code>(type: IndexPatternField['type']) => any[]</code> | | | ||
| [remove](./kibana-plugin-plugins-data-public.fieldlist.remove.md) | | <code>(field: IFieldType) => void</code> | | | ||
| [removeAll](./kibana-plugin-plugins-data-public.fieldlist.removeall.md) | | <code>() => void</code> | | | ||
| [replaceAll](./kibana-plugin-plugins-data-public.fieldlist.replaceall.md) | | <code>(specs: FieldSpec[]) => void</code> | | | ||
| [toSpec](./kibana-plugin-plugins-data-public.fieldlist.tospec.md) | | <code>() => {</code><br/><code> count: number;</code><br/><code> script: string | undefined;</code><br/><code> lang: string | undefined;</code><br/><code> conflictDescriptions: Record<string, string[]> | undefined;</code><br/><code> name: string;</code><br/><code> type: string;</code><br/><code> esTypes: string[] | undefined;</code><br/><code> scripted: boolean;</code><br/><code> searchable: boolean;</code><br/><code> aggregatable: boolean;</code><br/><code> readFromDocValues: boolean;</code><br/><code> subType: import("../types").IFieldSubType | undefined;</code><br/><code> format: any;</code><br/><code> }[]</code> | | | ||
| [update](./kibana-plugin-plugins-data-public.fieldlist.update.md) | | <code>(field: FieldSpec) => void</code> | | | ||
11 changes: 0 additions & 11 deletions
11
...pment/plugins/data/public/kibana-plugin-plugins-data-public.fieldlist.remove.md
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...nt/plugins/data/public/kibana-plugin-plugins-data-public.fieldlist.removeall.md
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...t/plugins/data/public/kibana-plugin-plugins-data-public.fieldlist.replaceall.md
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
...pment/plugins/data/public/kibana-plugin-plugins-data-public.fieldlist.tospec.md
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...pment/plugins/data/public/kibana-plugin-plugins-data-public.fieldlist.update.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
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
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
24 changes: 24 additions & 0 deletions
24
.../data/public/kibana-plugin-plugins-data-public.iindexpatternfieldlist.tospec.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,24 @@ | ||
<!-- 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) > [IIndexPatternFieldList](./kibana-plugin-plugins-data-public.iindexpatternfieldlist.md) > [toSpec](./kibana-plugin-plugins-data-public.iindexpatternfieldlist.tospec.md) | ||
|
||
## IIndexPatternFieldList.toSpec() method | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
toSpec(options?: { | ||
getFormatterForField?: IndexPattern['getFormatterForField']; | ||
}): FieldSpec[]; | ||
``` | ||
|
||
## Parameters | ||
|
||
| Parameter | Type | Description | | ||
| --- | --- | --- | | ||
| options | <code>{</code><br/><code> getFormatterForField?: IndexPattern['getFormatterForField'];</code><br/><code> }</code> | | | ||
|
||
<b>Returns:</b> | ||
|
||
`FieldSpec[]` | ||
|
Oops, something went wrong.