Skip to content

Commit

Permalink
Merge branch 'main' into fix-record-field-internationalization
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine authored Jan 31, 2022
2 parents cce206f + 7afae17 commit 02895dd
Show file tree
Hide file tree
Showing 1,081 changed files with 18,629 additions and 18,316 deletions.
10 changes: 5 additions & 5 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,11 @@
/x-pack/plugins/observability/ @elastic/observability-ui

# Unified Observability
/x-pack/plugins/observability/public/pages/overview @elastic/unified-observability
/x-pack/plugins/observability/public/components/shared/exploratory_view @elastic/unified-observability
/x-pack/plugins/observability/public/context @elastic/unified-observability
/x-pack/plugins/observability/public/pages/home @elastic/unified-observability
/x-pack/plugins/observability/public/pages/landing @elastic/unified-observability
/x-pack/plugins/observability/public/context @elastic/unified-observability
/x-pack/plugins/observability/public/pages/overview @elastic/unified-observability

# Actionable Observability
/x-pack/plugins/observability/common/rules @elastic/actionable-observability
Expand Down Expand Up @@ -135,7 +136,6 @@

# Uptime
/x-pack/plugins/uptime @elastic/uptime
/x-pack/plugins/observability/public/components/shared/exploratory_view @elastic/uptime
/x-pack/test/functional_with_es_ssl/apps/uptime @elastic/uptime
/x-pack/test/functional/apps/uptime @elastic/uptime
/x-pack/test/functional/es_archives/uptime @elastic/uptime
Expand Down Expand Up @@ -341,8 +341,8 @@
/docs/user/alerting/ @elastic/response-ops
/docs/management/connectors/ @elastic/response-ops
#CC# /x-pack/plugins/stack_alerts @elastic/response-ops
/x-pack/plugins/cases @elastic/response-ops
/x-pack/test/cases_api_integration @elastic/response-ops
/x-pack/plugins/cases/ @elastic/response-ops
/x-pack/test/cases_api_integration/ @elastic/response-ops

# Enterprise Search
/x-pack/plugins/enterprise_search @elastic/enterprise-search-frontend
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 02895dd

Please sign in to comment.