Skip to content

Commit

Permalink
Merge branch 'main' into d/2022-01-24-version-type-support
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine authored Jan 28, 2022
2 parents a5790d6 + 0ee514b commit 88b4c45
Show file tree
Hide file tree
Showing 767 changed files with 17,470 additions and 17,941 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@
/x-pack/test/functional_with_es_ssl/apps/ml/ @elastic/ml-ui
/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/ml_rule_types/ @elastic/ml-ui
/x-pack/test/alerting_api_integration/spaces_only/tests/alerting/transform_rule_types/ @elastic/ml-ui
/x-pack/test/screenshot_creation/apps/ml_docs @elastic/ml-ui
/x-pack/test/screenshot_creation/services/ml_screenshots.ts @elastic/ml-ui

# ML team owns and maintains the transform plugin despite it living in the Data management section.
/x-pack/plugins/transform/ @elastic/ml-ui
Expand Down
2 changes: 1 addition & 1 deletion api_docs/actions.json → api_docs/actions.devdocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@
"label": "ActionParamsType",
"description": [],
"signature": [
"{ readonly message: string; readonly level: \"error\" | \"info\" | \"trace\" | \"debug\" | \"warn\" | \"fatal\"; }"
"{ readonly message: string; readonly level: \"error\" | \"info\" | \"debug\" | \"trace\" | \"warn\" | \"fatal\"; }"
],
"path": "x-pack/plugins/actions/server/builtin_action_types/server_log.ts",
"deprecated": false,
Expand Down
2 changes: 1 addition & 1 deletion api_docs/actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ date: 2020-11-16
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'actions']
warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info.
---
import actionsObj from './actions.json';
import actionsObj from './actions.devdocs.json';



Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion api_docs/advanced_settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ date: 2020-11-16
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'advancedSettings']
warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info.
---
import advancedSettingsObj from './advanced_settings.json';
import advancedSettingsObj from './advanced_settings.devdocs.json';



Expand Down
146 changes: 143 additions & 3 deletions api_docs/alerting.json → api_docs/alerting.devdocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,15 @@
"label": "alert",
"description": [],
"signature": [
"{ id: string; name: string; tags: string[]; enabled: boolean; params: never; actions: ",
"{ id: string; monitoring?: ",
{
"pluginId": "alerting",
"scope": "common",
"docId": "kibAlertingPluginApi",
"section": "def-common.RuleMonitoring",
"text": "RuleMonitoring"
},
" | undefined; name: string; tags: string[]; enabled: boolean; params: never; actions: ",
{
"pluginId": "alerting",
"scope": "common",
Expand Down Expand Up @@ -770,6 +778,63 @@
}
],
"functions": [
{
"parentPluginId": "alerting",
"id": "def-server.createAbortableEsClientFactory",
"type": "Function",
"tags": [],
"label": "createAbortableEsClientFactory",
"description": [],
"signature": [
"(opts: ",
"CreateAbortableEsClientFactoryOpts",
") => { asInternalUser: { search: <TDocument = unknown, TAggregations = Record<string, ",
"AggregationsAggregate",
">>(query: ",
"SearchRequest",
" | ",
"SearchRequest",
", options?: ",
"TransportRequestOptions",
" | undefined) => Promise<",
"TransportResult",
"<",
"SearchResponse",
"<TDocument, TAggregations>, unknown>>; }; asCurrentUser: { search: <TDocument = unknown, TAggregations = Record<string, ",
"AggregationsAggregate",
">>(query: ",
"SearchRequest",
" | ",
"SearchRequest",
", options?: ",
"TransportRequestOptions",
" | undefined) => Promise<",
"TransportResult",
"<",
"SearchResponse",
"<TDocument, TAggregations>, unknown>>; }; }"
],
"path": "x-pack/plugins/alerting/server/lib/create_abortable_es_client_factory.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "alerting",
"id": "def-server.createAbortableEsClientFactory.$1",
"type": "Object",
"tags": [],
"label": "opts",
"description": [],
"signature": [
"CreateAbortableEsClientFactoryOpts"
],
"path": "x-pack/plugins/alerting/server/lib/create_abortable_es_client_factory.ts",
"deprecated": false,
"isRequired": true
}
],
"returnComment": [],
"initialIsOpen": false
},
{
"parentPluginId": "alerting",
"id": "def-server.getEsErrorMessage",
Expand Down Expand Up @@ -912,6 +977,16 @@
"path": "x-pack/plugins/alerting/server/types.ts",
"deprecated": false
},
{
"parentPluginId": "alerting",
"id": "def-server.AlertExecutorOptions.executionId",
"type": "string",
"tags": [],
"label": "executionId",
"description": [],
"path": "x-pack/plugins/alerting/server/types.ts",
"deprecated": false
},
{
"parentPluginId": "alerting",
"id": "def-server.AlertExecutorOptions.startedAt",
Expand Down Expand Up @@ -2484,7 +2559,7 @@
"section": "def-server.PartialAlert",
"text": "PartialAlert"
},
"<Params>>; enable: ({ id }: { id: string; }) => Promise<void>; disable: ({ id }: { id: string; }) => Promise<void>; muteAll: ({ id }: { id: string; }) => Promise<void>; getAlertState: ({ id }: { id: string; }) => Promise<void | { alertTypeState?: { [x: string]: unknown; } | undefined; alertInstances?: { [x: string]: { state?: { [x: string]: unknown; } | undefined; meta?: { lastScheduledActions?: ({ subgroup?: string | undefined; } & { group: string; date: Date; }) | undefined; } | undefined; }; } | undefined; previousStartedAt?: Date | null | undefined; }>; getAlertSummary: ({ id, dateStart }: ",
"<Params>>; enable: ({ id }: { id: string; }) => Promise<void>; disable: ({ id }: { id: string; }) => Promise<void>; muteAll: ({ id }: { id: string; }) => Promise<void>; getAlertState: ({ id }: { id: string; }) => Promise<void | { alertTypeState?: { [x: string]: unknown; } | undefined; alertInstances?: { [x: string]: { state?: { [x: string]: unknown; } | undefined; meta?: { lastScheduledActions?: ({ subgroup?: string | undefined; } & { group: string; date: Date; }) | undefined; } | undefined; }; } | undefined; previousStartedAt?: Date | null | undefined; }>; getAlertSummary: ({ id, dateStart, numberOfExecutions, }: ",
"GetAlertSummaryParams",
") => Promise<",
{
Expand Down Expand Up @@ -3205,6 +3280,26 @@
],
"path": "x-pack/plugins/alerting/common/alert.ts",
"deprecated": false
},
{
"parentPluginId": "alerting",
"id": "def-common.Alert.monitoring",
"type": "Object",
"tags": [],
"label": "monitoring",
"description": [],
"signature": [
{
"pluginId": "alerting",
"scope": "common",
"docId": "kibAlertingPluginApi",
"section": "def-common.RuleMonitoring",
"text": "RuleMonitoring"
},
" | undefined"
],
"path": "x-pack/plugins/alerting/common/alert.ts",
"deprecated": false
}
],
"initialIsOpen": false
Expand Down Expand Up @@ -3910,6 +4005,43 @@
],
"initialIsOpen": false
},
{
"parentPluginId": "alerting",
"id": "def-common.RuleMonitoring",
"type": "Interface",
"tags": [],
"label": "RuleMonitoring",
"description": [],
"signature": [
{
"pluginId": "alerting",
"scope": "common",
"docId": "kibAlertingPluginApi",
"section": "def-common.RuleMonitoring",
"text": "RuleMonitoring"
},
" extends ",
"SavedObjectAttributes"
],
"path": "x-pack/plugins/alerting/common/alert.ts",
"deprecated": false,
"children": [
{
"parentPluginId": "alerting",
"id": "def-common.RuleMonitoring.execution",
"type": "Object",
"tags": [],
"label": "execution",
"description": [],
"signature": [
"{ history: { success: boolean; timestamp: number; }[]; calculated_metrics: { success_ratio: number; }; }"
],
"path": "x-pack/plugins/alerting/common/alert.ts",
"deprecated": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "alerting",
"id": "def-common.RuleType",
Expand Down Expand Up @@ -4532,7 +4664,15 @@
"label": "SanitizedAlert",
"description": [],
"signature": [
"{ id: string; name: string; tags: string[]; enabled: boolean; params: Params; actions: ",
"{ id: string; monitoring?: ",
{
"pluginId": "alerting",
"scope": "common",
"docId": "kibAlertingPluginApi",
"section": "def-common.RuleMonitoring",
"text": "RuleMonitoring"
},
" | undefined; name: string; tags: string[]; enabled: boolean; params: Params; actions: ",
{
"pluginId": "alerting",
"scope": "common",
Expand Down
4 changes: 2 additions & 2 deletions api_docs/alerting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ date: 2020-11-16
tags: ['contributor', 'dev', 'apidocs', 'kibana', 'alerting']
warning: This document is auto-generated and is meant to be viewed inside our experimental, new docs system. Reach out in #docs-engineering for more info.
---
import alertingObj from './alerting.json';
import alertingObj from './alerting.devdocs.json';



Expand All @@ -18,7 +18,7 @@ Contact [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting-

| Public API count | Any count | Items lacking comments | Missing exports |
|-------------------|-----------|------------------------|-----------------|
| 277 | 0 | 269 | 18 |
| 283 | 0 | 275 | 19 |

## Client

Expand Down
Loading

0 comments on commit 88b4c45

Please sign in to comment.