kibana/api_docs/kbn_aiops_components.devdocs.json

689 lines
No EOL
24 KiB
JSON

{
"id": "@kbn/aiops-components",
"client": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"server": {
"classes": [],
"functions": [],
"interfaces": [],
"enums": [],
"misc": [],
"objects": []
},
"common": {
"classes": [],
"functions": [
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChart",
"type": "Function",
"tags": [],
"label": "DocumentCountChart",
"description": [
"\nDocument count chart with draggable brushes to select time ranges\nby default use `Baseline` and `Deviation` for the badge names\n"
],
"signature": [
"(props: React.PropsWithChildren<",
{
"pluginId": "@kbn/aiops-components",
"scope": "common",
"docId": "kibKbnAiopsComponentsPluginApi",
"section": "def-common.DocumentCountChartProps",
"text": "DocumentCountChartProps"
},
">) => JSX.Element"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChart.$1",
"type": "CompoundType",
"tags": [],
"label": "props",
"description": [
"DocumentCountChart component props"
],
"signature": [
"React.PropsWithChildren<",
{
"pluginId": "@kbn/aiops-components",
"scope": "common",
"docId": "kibKbnAiopsComponentsPluginApi",
"section": "def-common.DocumentCountChartProps",
"text": "DocumentCountChartProps"
},
">"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [
"The DocumentCountChart component."
],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DualBrush",
"type": "Function",
"tags": [],
"label": "DualBrush",
"description": [
"\nDualBrush React Component\nDual brush component that overlays the document count chart\n"
],
"signature": [
"(props: React.PropsWithChildren<DualBrushProps>) => JSX.Element"
],
"path": "x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush.tsx",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DualBrush.$1",
"type": "CompoundType",
"tags": [],
"label": "props",
"description": [
"DualBrushProps component props"
],
"signature": [
"React.PropsWithChildren<DualBrushProps>"
],
"path": "x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush.tsx",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [
"The DualBrush component."
],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DualBrushAnnotation",
"type": "Function",
"tags": [],
"label": "DualBrushAnnotation",
"description": [
"\nDualBrushAnnotation React Component\nDual brush annotation component that overlays the document count chart\n"
],
"signature": [
"(props: React.PropsWithChildren<BrushAnnotationProps>) => JSX.Element"
],
"path": "x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DualBrushAnnotation.$1",
"type": "CompoundType",
"tags": [],
"label": "props",
"description": [
"BrushAnnotationProps component props"
],
"signature": [
"React.PropsWithChildren<BrushAnnotationProps>"
],
"path": "x-pack/packages/ml/aiops_components/src/dual_brush/dual_brush_annotation.tsx",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [
"The DualBrushAnnotation component."
],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.ProgressControls",
"type": "Function",
"tags": [],
"label": "ProgressControls",
"description": [
"\nProgressControls React Component\nComponent with ability to Run & cancel analysis\nby default uses `Baseline` and `Deviation` for the badge name\n"
],
"signature": [
"(props: React.PropsWithChildren<ProgressControlProps>) => JSX.Element"
],
"path": "x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.ProgressControls.$1",
"type": "CompoundType",
"tags": [],
"label": "props",
"description": [
"ProgressControls component props"
],
"signature": [
"React.PropsWithChildren<ProgressControlProps>"
],
"path": "x-pack/packages/ml/aiops_components/src/progress_controls/progress_controls.tsx",
"deprecated": false,
"trackAdoption": false,
"isRequired": true
}
],
"returnComment": [
"The ProgressControls component."
],
"initialIsOpen": false
}
],
"interfaces": [
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.BrushSettings",
"type": "Interface",
"tags": [],
"label": "BrushSettings",
"description": [
"\nBrush settings"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.BrushSettings.label",
"type": "string",
"tags": [],
"label": "label",
"description": [
"\nOptional label name for brush"
],
"signature": [
"string | undefined"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.BrushSettings.annotationStyle",
"type": "Object",
"tags": [],
"label": "annotationStyle",
"description": [
"\nOptional style for brush"
],
"signature": [
"RecursivePartial",
"<",
"RectAnnotationStyle",
"> | undefined"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.BrushSettings.badgeWidth",
"type": "number",
"tags": [],
"label": "badgeWidth",
"description": [
"\nOptional width for brush"
],
"signature": [
"number | undefined"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps",
"type": "Interface",
"tags": [],
"label": "DocumentCountChartProps",
"description": [
"\nProps for document count chart"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false,
"children": [
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps.dependencies",
"type": "Object",
"tags": [],
"label": "dependencies",
"description": [
"List of Kibana services that are required as dependencies"
],
"signature": [
"{ data: ",
{
"pluginId": "data",
"scope": "public",
"docId": "kibDataPluginApi",
"section": "def-public.DataPublicPluginStart",
"text": "DataPublicPluginStart"
},
"; charts: ",
{
"pluginId": "charts",
"scope": "public",
"docId": "kibChartsPluginApi",
"section": "def-public.ChartsPluginStart",
"text": "ChartsPluginStart"
},
"; fieldFormats: ",
{
"pluginId": "fieldFormats",
"scope": "public",
"docId": "kibFieldFormatsPluginApi",
"section": "def-public.FieldFormatsStart",
"text": "FieldFormatsStart"
},
"; uiSettings: ",
{
"pluginId": "@kbn/core-ui-settings-browser",
"scope": "common",
"docId": "kibKbnCoreUiSettingsBrowserPluginApi",
"section": "def-common.IUiSettingsClient",
"text": "IUiSettingsClient"
},
"; }"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps.brushSelectionUpdateHandler",
"type": "Function",
"tags": [],
"label": "brushSelectionUpdateHandler",
"description": [
"Optional callback for handling brush selection updates"
],
"signature": [
{
"pluginId": "@kbn/aiops-components",
"scope": "common",
"docId": "kibKbnAiopsComponentsPluginApi",
"section": "def-common.BrushSelectionUpdateHandler",
"text": "BrushSelectionUpdateHandler"
},
" | undefined"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps.width",
"type": "number",
"tags": [],
"label": "width",
"description": [
"Optional width"
],
"signature": [
"number | undefined"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps.chartPoints",
"type": "Array",
"tags": [],
"label": "chartPoints",
"description": [
"Data chart points"
],
"signature": [
{
"pluginId": "@kbn/aiops-utils",
"scope": "common",
"docId": "kibKbnAiopsUtilsPluginApi",
"section": "def-common.LogRateHistogramItem",
"text": "LogRateHistogramItem"
},
"[]"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps.chartPointsSplit",
"type": "Array",
"tags": [],
"label": "chartPointsSplit",
"description": [
"Data chart points split"
],
"signature": [
{
"pluginId": "@kbn/aiops-utils",
"scope": "common",
"docId": "kibKbnAiopsUtilsPluginApi",
"section": "def-common.LogRateHistogramItem",
"text": "LogRateHistogramItem"
},
"[] | undefined"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps.timeRangeEarliest",
"type": "number",
"tags": [],
"label": "timeRangeEarliest",
"description": [
"Start time range for the chart"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps.timeRangeLatest",
"type": "number",
"tags": [],
"label": "timeRangeLatest",
"description": [
"Ending time range for the chart"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps.interval",
"type": "number",
"tags": [],
"label": "interval",
"description": [
"Time interval for the document count buckets"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps.chartPointsSplitLabel",
"type": "string",
"tags": [],
"label": "chartPointsSplitLabel",
"description": [
"Label to name the adjustedChartPointsSplit histogram"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps.isBrushCleared",
"type": "boolean",
"tags": [],
"label": "isBrushCleared",
"description": [
"Whether or not brush has been reset"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps.autoAnalysisStart",
"type": "CompoundType",
"tags": [],
"label": "autoAnalysisStart",
"description": [
"Timestamp for start of initial analysis"
],
"signature": [
"number | ",
{
"pluginId": "@kbn/aiops-utils",
"scope": "common",
"docId": "kibKbnAiopsUtilsPluginApi",
"section": "def-common.WindowParameters",
"text": "WindowParameters"
},
" | undefined"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps.barStyleAccessor",
"type": "Function",
"tags": [],
"label": "barStyleAccessor",
"description": [
"Optional style to override bar chart"
],
"signature": [
"BarStyleAccessor",
" | undefined"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps.barColorOverride",
"type": "string",
"tags": [],
"label": "barColorOverride",
"description": [
"Optional color override for the default bar color for charts"
],
"signature": [
"string | undefined"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps.barHighlightColorOverride",
"type": "string",
"tags": [],
"label": "barHighlightColorOverride",
"description": [
"Optional color override for the highlighted bar color for charts"
],
"signature": [
"string | undefined"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps.deviationBrush",
"type": "Object",
"tags": [],
"label": "deviationBrush",
"description": [
"Optional settings override for the 'deviation' brush"
],
"signature": [
{
"pluginId": "@kbn/aiops-components",
"scope": "common",
"docId": "kibKbnAiopsComponentsPluginApi",
"section": "def-common.BrushSettings",
"text": "BrushSettings"
},
" | undefined"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.DocumentCountChartProps.baselineBrush",
"type": "Object",
"tags": [],
"label": "baselineBrush",
"description": [
"Optional settings override for the 'baseline' brush"
],
"signature": [
{
"pluginId": "@kbn/aiops-components",
"scope": "common",
"docId": "kibKbnAiopsComponentsPluginApi",
"section": "def-common.BrushSettings",
"text": "BrushSettings"
},
" | undefined"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
}
],
"enums": [],
"misc": [
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.BrushSelectionUpdateHandler",
"type": "Type",
"tags": [],
"label": "BrushSelectionUpdateHandler",
"description": [
"\nCallback function which gets called when the brush selection has changed\n"
],
"signature": [
"(windowParameters: ",
{
"pluginId": "@kbn/aiops-utils",
"scope": "common",
"docId": "kibKbnAiopsUtilsPluginApi",
"section": "def-common.WindowParameters",
"text": "WindowParameters"
},
", force: boolean, logRateAnalysisType: ",
{
"pluginId": "@kbn/aiops-utils",
"scope": "common",
"docId": "kibKbnAiopsUtilsPluginApi",
"section": "def-common.LogRateAnalysisType",
"text": "LogRateAnalysisType"
},
") => void"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false,
"returnComment": [],
"children": [
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.BrushSelectionUpdateHandler.$1",
"type": "Object",
"tags": [],
"label": "windowParameters",
"description": [
"Baseline and deviation time ranges."
],
"signature": [
{
"pluginId": "@kbn/aiops-utils",
"scope": "common",
"docId": "kibKbnAiopsUtilsPluginApi",
"section": "def-common.WindowParameters",
"text": "WindowParameters"
}
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.BrushSelectionUpdateHandler.$2",
"type": "boolean",
"tags": [],
"label": "force",
"description": [
"Force update"
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
},
{
"parentPluginId": "@kbn/aiops-components",
"id": "def-common.BrushSelectionUpdateHandler.$3",
"type": "CompoundType",
"tags": [],
"label": "logRateAnalysisType",
"description": [
"`spike` or `dip` based on median log rate bucket size"
],
"signature": [
"\"spike\" | \"dip\""
],
"path": "x-pack/packages/ml/aiops_components/src/document_count_chart/document_count_chart.tsx",
"deprecated": false,
"trackAdoption": false
}
],
"initialIsOpen": false
}
],
"objects": []
}
}