diff --git a/src/components/ListTable.js b/src/components/ListTable.js
index e37f9a58a..70c59c581 100644
--- a/src/components/ListTable.js
+++ b/src/components/ListTable.js
@@ -1,4 +1,4 @@
-import React, { useMemo, useRef } from 'react';
+import React, { useMemo, useRef, useState } from 'react';
import PropTypes from 'prop-types';
import {
Cell,
@@ -32,17 +32,24 @@ const styleTable = ({ customAlign, customWidth }) => css`
${customAlign && `text-align: ${align(customAlign)}`};
${customWidth && `width: ${customWidth}`};
margin: ${theme.size.medium} 0;
+
+ tbody[data-expanded='true'] {
+ // Avoid flash of light mode
+ .dark-theme & {
+ background-color: ${palette.gray.dark4};
+ }
+ }
`;
const theadStyle = css`
// Allows its box shadow to appear above stub cell's background color
position: relative;
color: var(--font-color-primary);
- background-color: ${palette.white};
+ // Allow nested tables to inherit background of the current row
+ background-color: inherit;
box-shadow: 0 ${theme.size.tiny} ${palette.gray.light2};
.dark-theme & {
- background-color: ${palette.black};
box-shadow: 0 ${theme.size.tiny} ${palette.gray.dark2};
}
`;
@@ -57,13 +64,14 @@ const baseCellStyle = css`
* {
// Wrap in selector to ensure it cascades down to every element
font-size: ${theme.fontSize.small} !important;
- line-height: inherit;
+ line-height: 20px !important;
}
// Ensure each cell is no higher than the highest content in row
& > div {
height: unset;
min-height: unset;
+ max-height: unset;
}
`;
@@ -72,29 +80,16 @@ const bodyCellStyle = css`
word-break: break-word;
align-content: flex-start;
- & > div {
- min-height: unset;
- max-height: unset;
- flex-direction: column;
- align-items: flex-start;
- }
-
- *,
- p,
- a {
- line-height: 20px;
- }
-
// Target any nested components (paragraphs, admonitions, tables) and any paragraphs within those nested components
- & > div > *,
- & > div > div p {
- margin: 0 0 12px;
+ & > *,
+ & > div p {
+ margin: 0 0 12px !important;
}
// Prevent extra margin below last element (such as when multiple paragraphs are present)
- & > div > div *:last-child,
- & > div > *:last-child {
- margin-bottom: 0;
+ & > div *:last-child,
+ & > *:last-child {
+ margin-bottom: 0 !important;
}
`;
@@ -116,6 +111,14 @@ const stubCellStyle = css`
}
`;
+const subRowStyle = css`
+ // For some reason, collapsed subrows were causing the row to still take up space,
+ // so this is our workaround for now
+ &[aria-hidden='true'] {
+ display: none;
+ }
+`;
+
const zebraStripingStyle = css`
&:nth-of-type(even) {
background-color: ${palette.gray.light3};
@@ -209,24 +212,43 @@ const generateColumns = (headerRow, bodyRows) => {
});
};
-const generateRowsData = (bodyRowNodes, columns) => {
- const rowNodes = bodyRowNodes.map((node) => node?.children[0]?.children ?? []);
- const rows = rowNodes.map((rowNode) => {
- return rowNode.reduce((res, columnNode, colIndex) => {
- const column = columns[colIndex];
+const generateRowsData = (rowNodes, columns, isNested = false) => {
+ const rows = rowNodes.map((row) => {
+ const res = {};
+ const cells = [];
+ const nestedRows = [];
+
+ const potentialCells = isNested ? row.children : row;
+ for (const item of potentialCells) {
+ if (item.type === 'directive' && item.name === 'row') {
+ nestedRows.push(item);
+ } else {
+ cells.push(item);
+ }
+ }
+
+ cells.forEach((cell, colIdx) => {
+ const column = columns[colIdx];
if (!column) {
- console.warn(`Row has too many items (index ${colIndex}) for table with ${columns.length} columns`);
+ console.warn(`Row has too many items (index ${colIdx}) for table with ${columns.length} columns`);
return res;
}
- res[column?.accessorKey ?? colIndex] = (
+
+ const skipPTag = hasOneChild(cell.children);
+ res[column.accessorKey ?? colIdx] = (
<>
- {columnNode.children.map((cellNode, index) => (
-
+ {cell.children.map((contentNode, index) => (
+
))}
>
);
- return res;
- }, {});
+ });
+
+ if (nestedRows.length > 0) {
+ res['subRows'] = generateRowsData(nestedRows, columns, true);
+ }
+
+ return res;
});
return rows;
@@ -259,14 +281,26 @@ const ListTable = ({ nodeData: { children, options }, ...rest }) => {
const tableRef = useRef();
const columns = useMemo(() => generateColumns(headerRows[0], bodyRows), [bodyRows, headerRows]);
- const data = useMemo(() => generateRowsData(bodyRows, columns), [bodyRows, columns]);
+ // Destructure bodyRows' list element structure
+ const data = useMemo(
+ () =>
+ generateRowsData(
+ bodyRows.map((node) => node?.children[0]?.children ?? []),
+ columns
+ ),
+ [bodyRows, columns]
+ );
+ const [expanded, setExpanded] = useState(true);
const table = useLeafyGreenTable({
containerRef: tableRef,
columns: columns,
data: data,
+ state: {
+ expanded,
+ },
+ onExpandedChange: setExpanded,
});
const { rows } = table.getRowModel();
-
const columnCount = columns.length;
let widths = null;
@@ -285,6 +319,7 @@ const ListTable = ({ nodeData: { children, options }, ...rest }) => {
))}
{
const isStub = colIndex <= stubColumnCount - 1;
const role = isStub ? 'rowheader' : null;
return (
-
- {cell.renderValue()}
+
+ {cell.renderValue()}
|
);
})}
+
+ {row.subRows &&
+ row.subRows.map((subRow) => (
+
+ {subRow.getVisibleCells().map((cell) => {
+ return (
+
+ {cell.renderValue()}
+ |
+ );
+ })}
+
+ ))}
))}
diff --git a/tests/unit/ListTable.test.js b/tests/unit/ListTable.test.js
index 0577a33d8..bb5e89e13 100644
--- a/tests/unit/ListTable.test.js
+++ b/tests/unit/ListTable.test.js
@@ -5,6 +5,7 @@ import ListTable from '../../src/components/ListTable';
import mockData from './data/ListTable.test.json';
import mockDataFixedWidths from './data/ListTableFixedWidths.test.json';
+import mockDataNestedRows from './data/ListTableNestedRows.test.json';
expect.extend(matchers);
@@ -63,4 +64,12 @@ describe('when rendering a list table with fixed widths', () => {
const wrapper = mountListTable(data);
expect(wrapper.queryAllByRole('rowheader')).toHaveLength(0);
});
+
+ describe('when rendering a list table with nested rows', () => {
+ const data = mockDataNestedRows;
+ it('renders correctly', () => {
+ const wrapper = mountListTable(data);
+ expect(wrapper.asFragment()).toMatchSnapshot();
+ });
+ });
});
diff --git a/tests/unit/__snapshots__/ListTable.test.js.snap b/tests/unit/__snapshots__/ListTable.test.js.snap
index 361037d02..f1526f73e 100644
--- a/tests/unit/__snapshots__/ListTable.test.js.snap
+++ b/tests/unit/__snapshots__/ListTable.test.js.snap
@@ -9,6 +9,10 @@ exports[`when rendering a list table with fixed widths renders correctly 1`] = `
margin: 24px 0;
}
+.dark-theme .emotion-0 tbody[data-expanded='true'] {
+ background-color: #112733;
+}
+
.emotion-1 {
border-spacing: 0;
border-collapse: collapse;
@@ -23,12 +27,11 @@ exports[`when rendering a list table with fixed widths renders correctly 1`] = `
box-shadow: 0 4px #E8EDEB;
position: relative;
color: var(--font-color-primary);
- background-color: #FFFFFF;
+ background-color: inherit;
box-shadow: 0 4px #E8EDEB;
}
.dark-theme .emotion-2 {
- background-color: #001E2B;
box-shadow: 0 4px #3D4F58;
}
@@ -39,11 +42,6 @@ exports[`when rendering a list table with fixed widths renders correctly 1`] = `
padding: 10px 8px!important;
vertical-align: top;
color: var(--font-color-primary);
- overflow-wrap: anywhere;
- word-break: break-word;
- -webkit-align-content: flex-start;
- -ms-flex-line-pack: flex-start;
- align-content: flex-start;
}
.emotion-3:focus-visible {
@@ -56,40 +54,13 @@ exports[`when rendering a list table with fixed widths renders correctly 1`] = `
.emotion-3 * {
font-size: 13px!important;
- line-height: inherit;
+ line-height: 20px!important;
}
.emotion-3>div {
height: unset;
min-height: unset;
-}
-
-.emotion-3>div {
- min-height: unset;
max-height: unset;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-align-items: flex-start;
- -webkit-box-align: flex-start;
- -ms-flex-align: flex-start;
- align-items: flex-start;
-}
-
-.emotion-3 *,
-.emotion-3 p,
-.emotion-3 a {
- line-height: 20px;
-}
-
-.emotion-3>div>*,
-.emotion-3>div>div p {
- margin: 0 0 12px;
-}
-
-.emotion-3>div>div *:last-child,
-.emotion-3>div>*:last-child {
- margin-bottom: 0;
}
.emotion-4 {
@@ -116,20 +87,21 @@ exports[`when rendering a list table with fixed widths renders correctly 1`] = `
}
.emotion-5 {
- margin: unset;
- font-family: 'Euclid Circular A','Helvetica Neue',Helvetica,Arial,sans-serif;
- color: #001E2B;
- font-size: 13px;
- line-height: 20px;
- color: #001E2B;
- font-weight: 400;
- margin-bottom: 16px;
- color: var(--font-color-primary);
+ overflow-wrap: anywhere;
+ word-break: break-word;
+ -webkit-align-content: flex-start;
+ -ms-flex-line-pack: flex-start;
+ align-content: flex-start;
}
-.emotion-5 strong,
-.emotion-5 b {
- font-weight: 700;
+.emotion-5>*,
+.emotion-5>div p {
+ margin: 0 0 12px!important;
+}
+
+.emotion-5>div *:last-child,
+.emotion-5>*:last-child {
+ margin-bottom: 0!important;
}
.emotion-6 {
@@ -138,11 +110,6 @@ exports[`when rendering a list table with fixed widths renders correctly 1`] = `
padding: 10px 8px!important;
vertical-align: top;
color: var(--font-color-primary);
- overflow-wrap: anywhere;
- word-break: break-word;
- -webkit-align-content: flex-start;
- -ms-flex-line-pack: flex-start;
- align-content: flex-start;
}
.emotion-6:focus-visible {
@@ -155,40 +122,13 @@ exports[`when rendering a list table with fixed widths renders correctly 1`] = `
.emotion-6 * {
font-size: 13px!important;
- line-height: inherit;
+ line-height: 20px!important;
}
.emotion-6>div {
height: unset;
min-height: unset;
-}
-
-.emotion-6>div {
- min-height: unset;
max-height: unset;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-align-items: flex-start;
- -webkit-box-align: flex-start;
- -ms-flex-align: flex-start;
- align-items: flex-start;
-}
-
-.emotion-6 *,
-.emotion-6 p,
-.emotion-6 a {
- line-height: 20px;
-}
-
-.emotion-6>div>*,
-.emotion-6>div>div p {
- margin: 0 0 12px;
-}
-
-.emotion-6>div>div *:last-child,
-.emotion-6>div>*:last-child {
- margin-bottom: 0;
}
-
50
-
+
-
8.5x11,in
-
+
-
A
-
+
-
college-ruled,perforated
-
+
-
8
-
+
@@ -319,7 +259,7 @@ exports[`when rendering a list table with fixed widths renders correctly 1`] = `
`;
-exports[`when rendering a list-table directive renders correctly 1`] = `
+exports[`when rendering a list table with fixed widths when rendering a list table with nested rows renders correctly 1`] = `
.emotion-0 {
overflow: auto;
@@ -328,6 +268,10 @@ exports[`when rendering a list-table directive renders correctly 1`] = `
margin: 24px 0;
}
+.dark-theme .emotion-0 tbody[data-expanded='true'] {
+ background-color: #112733;
+}
+
.emotion-1 {
border-spacing: 0;
border-collapse: collapse;
@@ -342,12 +286,11 @@ exports[`when rendering a list-table directive renders correctly 1`] = `
box-shadow: 0 4px #E8EDEB;
position: relative;
color: var(--font-color-primary);
- background-color: #FFFFFF;
+ background-color: inherit;
box-shadow: 0 4px #E8EDEB;
}
.dark-theme .emotion-2 {
- background-color: #001E2B;
box-shadow: 0 4px #3D4F58;
}
@@ -375,12 +318,13 @@ exports[`when rendering a list-table directive renders correctly 1`] = `
.emotion-3 * {
font-size: 13px!important;
- line-height: inherit;
+ line-height: 20px!important;
}
.emotion-3>div {
height: unset;
min-height: unset;
+ max-height: unset;
}
.emotion-4 {
@@ -427,95 +371,48 @@ exports[`when rendering a list-table directive renders correctly 1`] = `
.emotion-5 * {
font-size: 13px!important;
- line-height: inherit;
+ line-height: 20px!important;
}
.emotion-5>div {
height: unset;
min-height: unset;
+ max-height: unset;
}
-.emotion-15:nth-of-type(even) {
- background-color: #F9FBFA;
-}
-
-.emotion-15:nth-of-type(even) {
+.emotion-7 {
background-color: #F9FBFA;
}
-.dark-theme .emotion-15:nth-of-type(even) {
- background-color: #112733;
-}
-
-.emotion-16 {
+.emotion-8 {
padding: 0 8px;
overflow: hidden;
- padding-left: 32px;
+ padding-left: 24px;
padding: 10px 8px!important;
vertical-align: top;
color: var(--font-color-primary);
- overflow-wrap: anywhere;
- word-break: break-word;
- -webkit-align-content: flex-start;
- -ms-flex-line-pack: flex-start;
- align-content: flex-start;
- background-color: #F9FBFA;
- border-right: 3px solid #E8EDEB;
- font-weight: 600;
}
-.emotion-16:focus-visible {
+.emotion-8:focus-visible {
box-shadow: inset;
}
-.emotion-16:last-child {
+.emotion-8:last-child {
padding-right: 24px;
}
-.emotion-16 * {
+.emotion-8 * {
font-size: 13px!important;
- line-height: inherit;
+ line-height: 20px!important;
}
-.emotion-16>div {
+.emotion-8>div {
height: unset;
min-height: unset;
-}
-
-.emotion-16>div {
- min-height: unset;
max-height: unset;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-align-items: flex-start;
- -webkit-box-align: flex-start;
- -ms-flex-align: flex-start;
- align-items: flex-start;
-}
-
-.emotion-16 *,
-.emotion-16 p,
-.emotion-16 a {
- line-height: 20px;
-}
-
-.emotion-16>div>*,
-.emotion-16>div>div p {
- margin: 0 0 12px;
-}
-
-.emotion-16>div>div *:last-child,
-.emotion-16>div>*:last-child {
- margin-bottom: 0;
-}
-
-.dark-theme .emotion-16 {
- background-color: #112733;
- border-right: 3px solid #3D4F58;
}
-.emotion-17 {
+.emotion-9 {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
@@ -538,29 +435,105 @@ exports[`when rendering a list-table directive renders correctly 1`] = `
text-align: left;
}
-.emotion-18 {
- margin: unset;
- font-family: 'Euclid Circular A','Helvetica Neue',Helvetica,Arial,sans-serif;
+.emotion-10 {
+ border: none;
+ -webkit-appearance: unset;
+ padding: unset;
+ display: inline-block;
+ border-radius: 100px;
+ position: relative;
+ cursor: pointer;
+ -webkit-flex-shrink: 0;
+ -ms-flex-negative: 0;
+ flex-shrink: 0;
+ -webkit-transition: 150ms ease-in-out;
+ transition: 150ms ease-in-out;
+ transition-property: color,box-shadow;
+ background-color: rgba(255, 255, 255, 0);
+ height: 28px;
+ width: 28px;
+ color: #5C6C75;
+ -webkit-transform: rotate(90deg);
+ -moz-transform: rotate(90deg);
+ -ms-transform: rotate(90deg);
+ transform: rotate(90deg);
+ -webkit-transition: -webkit-transform 150ms ease-in-out;
+ transition: transform 150ms ease-in-out;
+}
+
+.emotion-10:before {
+ content: '';
+ -webkit-transition: 150ms all ease-in-out;
+ transition: 150ms all ease-in-out;
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ border-radius: 100%;
+ -webkit-transform: scale(0.8);
+ -moz-transform: scale(0.8);
+ -ms-transform: scale(0.8);
+ transform: scale(0.8);
+}
+
+.emotion-10:active:before,
+.emotion-10:hover:before,
+.emotion-10:focus:before {
+ -webkit-transform: scale(1);
+ -moz-transform: scale(1);
+ -ms-transform: scale(1);
+ transform: scale(1);
+}
+
+.emotion-10:focus {
+ outline: none;
+}
+
+.emotion-10:active,
+.emotion-10:hover {
color: #001E2B;
- font-size: 13px;
- line-height: 20px;
+}
+
+.emotion-10:active:before,
+.emotion-10:hover:before {
+ background-color: rgba(61,79,88,0.1);
+}
+
+.emotion-10:focus-visible {
color: #001E2B;
- font-weight: 400;
- margin-bottom: 16px;
- color: var(--font-color-primary);
+ box-shadow: 0 0 0 2px #FFFFFF,0 0 0 4px #0498EC;
}
-.emotion-18 strong,
-.emotion-18 b {
- font-weight: 700;
+.emotion-10:focus-visible:before {
+ background-color: rgba(61,79,88,0.1);
}
-.emotion-19 {
- padding: 0 8px;
- overflow: hidden;
- padding: 10px 8px!important;
- vertical-align: top;
- color: var(--font-color-primary);
+.emotion-11 {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ -webkit-box-pack: center;
+ -ms-flex-pack: center;
+ -webkit-justify-content: center;
+ justify-content: center;
+}
+
+.emotion-12 {
+ color: #5C6C75;
+}
+
+.emotion-13 {
overflow-wrap: anywhere;
word-break: break-word;
-webkit-align-content: flex-start;
@@ -568,50 +541,1572 @@ exports[`when rendering a list-table directive renders correctly 1`] = `
align-content: flex-start;
}
-.emotion-19:focus-visible {
+.emotion-13>*,
+.emotion-13>div p {
+ margin: 0 0 12px!important;
+}
+
+.emotion-13>div *:last-child,
+.emotion-13>*:last-child {
+ margin-bottom: 0!important;
+}
+
+.emotion-14 {
+ padding: 0 8px;
+ overflow: hidden;
+ padding: 10px 8px!important;
+ vertical-align: top;
+ color: var(--font-color-primary);
+}
+
+.emotion-14:focus-visible {
box-shadow: inset;
}
-.emotion-19:last-child {
+.emotion-14:last-child {
padding-right: 24px;
}
-.emotion-19 * {
+.emotion-14 * {
font-size: 13px!important;
- line-height: inherit;
+ line-height: 20px!important;
}
-.emotion-19>div {
+.emotion-14>div {
height: unset;
min-height: unset;
+ max-height: unset;
}
-.emotion-19>div {
+.emotion-17[aria-hidden='true'] {
+ display: none;
+}
+
+.emotion-18 {
+ padding: 0 8px;
+ overflow: hidden;
+ padding-left: 52px;
+ padding: 10px 8px!important;
+ vertical-align: top;
+ color: var(--font-color-primary);
+}
+
+.emotion-18:focus-visible {
+ box-shadow: inset;
+}
+
+.emotion-18:last-child {
+ padding-right: 24px;
+}
+
+.emotion-18 * {
+ font-size: 13px!important;
+ line-height: 20px!important;
+}
+
+.emotion-18>div {
+ height: unset;
min-height: unset;
max-height: unset;
- -webkit-flex-direction: column;
- -ms-flex-direction: column;
- flex-direction: column;
- -webkit-align-items: flex-start;
- -webkit-box-align: flex-start;
- -ms-flex-align: flex-start;
- align-items: flex-start;
-}
-
-.emotion-19 *,
-.emotion-19 p,
-.emotion-19 a {
+}
+
+.emotion-68 {
+ margin: unset;
+ font-family: 'Euclid Circular A','Helvetica Neue',Helvetica,Arial,sans-serif;
+ color: #001E2B;
+ font-size: 13px;
+ line-height: 20px;
+ color: #001E2B;
+ font-weight: 400;
+ margin-bottom: 16px;
+ color: var(--font-color-primary);
+}
+
+.emotion-68 strong,
+.emotion-68 b {
+ font-weight: 700;
+}
+
+.emotion-69 {
+ font-family: 'Euclid Circular A','Helvetica Neue',Helvetica,Arial,sans-serif;
+ color: #001E2B;
+ -webkit-padding-start: 12px;
+ padding-inline-start: 12px;
+ position: relative;
+ margin-top: 24px;
+ margin-bottom: 24px;
+}
+
+.emotion-69:after {
+ content: '';
+ position: absolute;
+ width: 3px;
+ top: 0px;
+ bottom: 0px;
+ left: 0;
+ border-radius: 2px;
+ background-color: #FFC010;
+}
+
+.emotion-69 p,
+.emotion-69 li::marker {
+ color: var(--font-color-primary);
+}
+
+.emotion-69 p>a[class^='leafy'] {
+ color: var(--link-color-primary);
+ font-weight: var(--link-font-weight);
+}
+
+.emotion-69>li:last-of-type,
+.emotion-69>ul:last-of-type,
+.emotion-69>ol:last-of-type,
+.emotion-69>li:last-of-type>p,
+.emotion-69>p:last-of-type {
+ margin-bottom: 0px;
+}
+
+.emotion-69 h2 {
+ color: #944F01;
+}
+
+.emotion-69:after {
+ background-color: #FFC010;
+}
+
+.dark-theme .emotion-69 h2 {
+ color: #FFEC9E;
+}
+
+.emotion-70 {
+ margin: unset;
+ font-family: 'Euclid Circular A','Helvetica Neue',Helvetica,Arial,sans-serif;
+ color: #001E2B;
+ font-size: 12px;
+ font-weight: 700;
+ text-transform: uppercase;
line-height: 20px;
+ letter-spacing: 0.4px;
+ color: #001E2B;
+ width: 100%;
+ margin-block-end: 4px;
+ color: #944F01;
+}
+
+.emotion-71 {
+ margin: unset;
+ font-family: 'Euclid Circular A','Helvetica Neue',Helvetica,Arial,sans-serif;
+ color: #001E2B;
+ font-size: 16px;
+ line-height: 28px;
+ color: #001E2B;
+ font-weight: 400;
+}
+
+.emotion-71 strong,
+.emotion-71 b {
+ font-weight: 700;
+}
+
+.emotion-71 a:not(.lg-ui-0001) {
+ font-family: 'Euclid Circular A','Helvetica Neue',Helvetica,Arial,sans-serif;
+ display: inline;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ -webkit-text-decoration: none;
+ text-decoration: none;
+ text-decoration-color: transparent;
+ cursor: pointer;
+ font-size: inherit;
+ line-height: inherit;
+ -webkit-appearance: none;
+ -moz-appearance: none;
+ -ms-appearance: none;
+ appearance: none;
+ background: none;
+ border: none;
+ padding: 0;
+ color: #016BF8;
+ font-weight: 400;
+}
+
+.emotion-71 a:not(.lg-ui-0001):hover,
+.emotion-71 a:not(.lg-ui-0001)[data-hover='true'],
+.emotion-71 a:not(.lg-ui-0001):focus-visible,
+.emotion-71 a:not(.lg-ui-0001)[data-focus='true'] {
+ -webkit-text-decoration: underline;
+ text-decoration: underline;
+ -webkit-transition: text-decoration 150ms ease-in-out;
+ transition: text-decoration 150ms ease-in-out;
+ text-underline-offset: 4px;
+ text-decoration-thickness: 2px;
+}
+
+.emotion-71 a:not(.lg-ui-0001):focus {
+ outline: none;
+}
+
+.emotion-71 a:not(.lg-ui-0001):hover,
+.emotion-71 a:not(.lg-ui-0001)[data-hover='true'] {
+ text-decoration-color: #E8EDEB;
+}
+
+.emotion-71 a:not(.lg-ui-0001):focus-visible,
+.emotion-71 a:not(.lg-ui-0001)[data-focus='true'] {
+ text-decoration-color: #016BF8;
+}
+
+.emotion-72 {
+ margin: unset;
+ font-family: 'Euclid Circular A','Helvetica Neue',Helvetica,Arial,sans-serif;
+ color: #001E2B;
+ font-size: 16px;
+ line-height: 28px;
+ color: #001E2B;
+ font-weight: 400;
+ margin-bottom: 16px;
+ color: var(--font-color-primary);
}
-.emotion-19>div>*,
-.emotion-19>div>div p {
- margin: 0 0 12px;
+.emotion-72 strong,
+.emotion-72 b {
+ font-weight: 700;
}
-.emotion-19>div>div *:last-child,
-.emotion-19>div>*:last-child {
- margin-bottom: 0;
+.emotion-74 {
+ font-family: 'Euclid Circular A','Helvetica Neue',Helvetica,Arial,sans-serif;
+ display: -webkit-inline-box;
+ display: -webkit-inline-flex;
+ display: -ms-inline-flexbox;
+ display: inline-flex;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ -webkit-text-decoration: none;
+ text-decoration: none;
+ text-decoration-color: transparent;
+ cursor: pointer;
+ font-size: inherit;
+ line-height: inherit;
+ -webkit-appearance: none;
+ -moz-appearance: none;
+ -ms-appearance: none;
+ appearance: none;
+ background: none;
+ border: none;
+ padding: 0;
+ font-size: 16px;
+ line-height: 28px;
+ color: #016BF8;
+ font-weight: 400;
+ display: inline;
+ color: var(--link-color-primary);
+ font-weight: var(--link-font-weight);
+}
+
+.emotion-74:hover,
+.emotion-74:focus {
+ -webkit-text-decoration: underline;
+ text-decoration: underline;
+ -webkit-transition: text-decoration 150ms ease-in-out;
+ transition: text-decoration 150ms ease-in-out;
+ text-underline-offset: 4px;
+ text-decoration-thickness: 2px;
+}
+
+.emotion-74:focus {
+ outline: none;
+}
+
+.emotion-74:hover {
+ text-decoration-color: #E8EDEB;
+}
+
+.emotion-74:focus {
+ text-decoration-color: #016BF8;
+}
+
+.emotion-75 {
+ -webkit-flex-shrink: 0;
+ -ms-flex-negative: 0;
+ flex-shrink: 0;
+ position: relative;
+ bottom: 4px;
+ left: -1px;
+ height: 12px;
+}
+
+
+
+
+
+
+
+ Service
+
+
+
+
+ Result
+
+
+
+
+
+
+
+
+
+
+
+
+ A returned PagerDuty integration configuration object will
+contain the following fields:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ A returned Slack integration configuration object will
+contain the following fields:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ A returned Datadog integration configuration object will
+contain the following fields:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ A returned New Relic integration configuration object will
+contain the following fields:
+
+
+
+ Important
+
+
+
+ Effective Wednesday, June 16th, 2021, New Relic no longer supports
+the plugin-based integration with MongoDB. We do not recommend
+that you sign up for the plugin-based integration.
+
+
+ To learn more,
+see the
+
+
+ New Relic Plugin EOL Statement
+
+
+
+
+
+
+ .
+Consider configuring an alternative monitoring integration before
+June 16th to maintain visibility into your MongoDB deployments.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ A returned Opsgenie integration configuration object will
+contain the following fields:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ A returned VictorOps integration configuration object will
+contain the following fields:
+
+
+
+
+
+
+
+
+
+
+
+
+ The configuration object may also contain the following
+fields, depending on your configuration:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Webhook Settings
+
+
+
+
+
+
+ A returned webhook configuration object will
+contain the following fields:
+
+
+
+
+
+
+
+
+
+
+
+
+ The configuration object may also contain the following
+fields, depending on your configuration:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Microsoft Teams
+
+
+
+
+
+
+ A returned Microsoft Teams configuration object will
+contain the following fields:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ A returned Prometheus configuration object will
+contain the following fields:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+`;
+
+exports[`when rendering a list-table directive renders correctly 1`] = `
+
+ .emotion-0 {
+ overflow: auto;
+ width: 100%;
+ position: relative;
+ margin: 24px 0;
+}
+
+.dark-theme .emotion-0 tbody[data-expanded='true'] {
+ background-color: #112733;
+}
+
+.emotion-1 {
+ border-spacing: 0;
+ border-collapse: collapse;
+ width: 100%;
+ color: #1C2D38;
+ font-size: 13px;
+ line-height: 20px;
+}
+
+.emotion-2 {
+ background-color: #FFFFFF;
+ box-shadow: 0 4px #E8EDEB;
+ position: relative;
+ color: var(--font-color-primary);
+ background-color: inherit;
+ box-shadow: 0 4px #E8EDEB;
+}
+
+.dark-theme .emotion-2 {
+ box-shadow: 0 4px #3D4F58;
+}
+
+.emotion-3 {
+ padding: 0 8px;
+ overflow: hidden;
+ padding-left: 32px;
+ width: 150px;
+ padding: 10px 8px!important;
+ vertical-align: top;
+ color: var(--font-color-primary);
+ line-height: 24px;
+ font-weight: 600;
+ font-size: 13px;
+ width: auto;
+}
+
+.emotion-3:focus-visible {
+ box-shadow: inset;
+}
+
+.emotion-3:last-child {
+ padding-right: 24px;
+}
+
+.emotion-3 * {
+ font-size: 13px!important;
+ line-height: 20px!important;
+}
+
+.emotion-3>div {
+ height: unset;
+ min-height: unset;
+ max-height: unset;
+}
+
+.emotion-4 {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ min-height: 40px;
+ transition-property: min-height,max-height,opacity,padding,transform;
+ transition-duration: 150ms;
+ transition-timing-function: ease;
+ height: 40px;
+ -webkit-box-pack: left;
+ -ms-flex-pack: left;
+ -webkit-justify-content: left;
+ justify-content: left;
+ text-align: left;
+}
+
+.emotion-5 {
+ padding: 0 8px;
+ overflow: hidden;
+ width: 150px;
+ padding: 10px 8px!important;
+ vertical-align: top;
+ color: var(--font-color-primary);
+ line-height: 24px;
+ font-weight: 600;
+ font-size: 13px;
+ width: auto;
+}
+
+.emotion-5:focus-visible {
+ box-shadow: inset;
+}
+
+.emotion-5:last-child {
+ padding-right: 24px;
+}
+
+.emotion-5 * {
+ font-size: 13px!important;
+ line-height: 20px!important;
+}
+
+.emotion-5>div {
+ height: unset;
+ min-height: unset;
+ max-height: unset;
+}
+
+.emotion-15:nth-of-type(even) {
+ background-color: #F9FBFA;
+}
+
+.emotion-15:nth-of-type(even) {
+ background-color: #F9FBFA;
+}
+
+.dark-theme .emotion-15:nth-of-type(even) {
+ background-color: #112733;
+}
+
+.emotion-16 {
+ padding: 0 8px;
+ overflow: hidden;
+ padding-left: 32px;
+ padding: 10px 8px!important;
+ vertical-align: top;
+ color: var(--font-color-primary);
+ background-color: #F9FBFA;
+ border-right: 3px solid #E8EDEB;
+ font-weight: 600;
+}
+
+.emotion-16:focus-visible {
+ box-shadow: inset;
+}
+
+.emotion-16:last-child {
+ padding-right: 24px;
+}
+
+.emotion-16 * {
+ font-size: 13px!important;
+ line-height: 20px!important;
+}
+
+.emotion-16>div {
+ height: unset;
+ min-height: unset;
+ max-height: unset;
+}
+
+.dark-theme .emotion-16 {
+ background-color: #112733;
+ border-right: 3px solid #3D4F58;
+}
+
+.emotion-17 {
+ display: -webkit-box;
+ display: -webkit-flex;
+ display: -ms-flexbox;
+ display: flex;
+ -webkit-align-items: center;
+ -webkit-box-align: center;
+ -ms-flex-align: center;
+ align-items: center;
+ min-height: 40px;
+ transition-property: min-height,max-height,opacity,padding,transform;
+ transition-duration: 150ms;
+ transition-timing-function: ease;
+ opacity: 1;
+ min-height: 40px;
+ max-height: 40px;
+ -webkit-box-pack: left;
+ -ms-flex-pack: left;
+ -webkit-justify-content: left;
+ justify-content: left;
+ text-align: left;
+}
+
+.emotion-18 {
+ overflow-wrap: anywhere;
+ word-break: break-word;
+ -webkit-align-content: flex-start;
+ -ms-flex-line-pack: flex-start;
+ align-content: flex-start;
+}
+
+.emotion-18>*,
+.emotion-18>div p {
+ margin: 0 0 12px!important;
+}
+
+.emotion-18>div *:last-child,
+.emotion-18>*:last-child {
+ margin-bottom: 0!important;
+}
+
+.emotion-19 {
+ padding: 0 8px;
+ overflow: hidden;
+ padding: 10px 8px!important;
+ vertical-align: top;
+ color: var(--font-color-primary);
+}
+
+.emotion-19:focus-visible {
+ box-shadow: inset;
+}
+
+.emotion-19:last-child {
+ padding-right: 24px;
+}
+
+.emotion-19 * {
+ font-size: 13px!important;
+ line-height: 20px!important;
+}
+
+.emotion-19>div {
+ height: unset;
+ min-height: unset;
+ max-height: unset;
}
-
25
-
+
-
14x21,cm
-
+
-
A
-
+
-
brown, lined
-
+
-
9
-
+
@@ -796,11 +2291,11 @@ exports[`when rendering a list-table directive renders correctly 1`] = `
class="emotion-17"
data-state="entered"
>
-
notebook
-
+
-
50
-
+
-
8.5x11,in
-
+
-
A
-
+
-
college-ruled,perforated
-
+
-
8
-
+
@@ -888,11 +2383,11 @@ exports[`when rendering a list-table directive renders correctly 1`] = `
class="emotion-17"
data-state="entered"
>
-
paper
-
+
-
100
-
+
-
8.5x11,in
-
+
-
D
-
+
-
watercolor
-
+
-
10
-
+
@@ -980,11 +2475,11 @@ exports[`when rendering a list-table directive renders correctly 1`] = `
class="emotion-17"
data-state="entered"
>
-
planner
-
+
-
75
-
+
-
22.85x30,cm
-
+
-
D
-
+
-
2019
-
+
-
10
-
+
@@ -1072,11 +2567,11 @@ exports[`when rendering a list-table directive renders correctly 1`] = `
class="emotion-17"
data-state="entered"
>
-
postcard
-
+
-
45
-
+
-
10x,cm
-
+
-
D
-
+
-
double-sided,white
-
+
-
2
-
+
diff --git a/tests/unit/data/ListTableNestedRows.test.json b/tests/unit/data/ListTableNestedRows.test.json
new file mode 100644
index 000000000..a89b6dfab
--- /dev/null
+++ b/tests/unit/data/ListTableNestedRows.test.json
@@ -0,0 +1,3613 @@
+{
+ "type": "directive",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Service"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Result"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "PagerDuty"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "A returned PagerDuty integration configuration object will\ncontain the following fields:"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Property"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Description"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "type"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "PAGER_DUTY"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "serviceKey"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Your Service Key."
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "root",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "After you create a notification which requires an API or integration\nkey, the key appears partially redacted when you:"
+ }
+ ]
+ },
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "View or edit the alert through the Atlas UI."
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Query the alert for the notification through the Atlas Administration API."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "note",
+ "argument": []
+ }
+ ],
+ "fileid": "includes/fact-api-key-redacted.rst"
+ }
+ ],
+ "domain": "",
+ "name": "include",
+ "argument": [
+ {
+ "type": "text",
+ "position": {
+ "start": {
+ "line": 374
+ }
+ },
+ "value": "/includes/fact-api-key-redacted.rst"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "list-table",
+ "argument": [],
+ "options": {
+ "widths": "30 70",
+ "header-rows": 1
+ }
+ }
+ ],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ }
+ ],
+ "domain": "mongodb",
+ "name": "row",
+ "argument": []
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Slack"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "A returned Slack integration configuration object will\ncontain the following fields:"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Property"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Description"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "type"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "SLACK"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "apiToken"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Your API Token."
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "root",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "After you create a notification which requires an API or integration\nkey, the key appears partially redacted when you:"
+ }
+ ]
+ },
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "View or edit the alert through the Atlas UI."
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Query the alert for the notification through the Atlas Administration API."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "note",
+ "argument": []
+ }
+ ],
+ "fileid": "includes/fact-api-key-redacted.rst"
+ }
+ ],
+ "domain": "",
+ "name": "include",
+ "argument": [
+ {
+ "type": "text",
+ "position": {
+ "start": {
+ "line": 393
+ }
+ },
+ "value": "/includes/fact-api-key-redacted.rst"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "teamName"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Your team name. This field may not be present with a\nlegacy Slack integration."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "channelName"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "The configured Slack channel name. An empty string if\nthe value is not set."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "list-table",
+ "argument": [],
+ "options": {
+ "widths": "30 70",
+ "header-rows": 1
+ }
+ }
+ ],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ }
+ ],
+ "domain": "mongodb",
+ "name": "row",
+ "argument": []
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Datadog"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "A returned Datadog integration configuration object will\ncontain the following fields:"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Property"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Description"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "type"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "DATADOG"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "apiKey"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Your API Key."
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "root",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "After you create a notification which requires an API or integration\nkey, the key appears partially redacted when you:"
+ }
+ ]
+ },
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "View or edit the alert through the Atlas UI."
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Query the alert for the notification through the Atlas Administration API."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "note",
+ "argument": []
+ }
+ ],
+ "fileid": "includes/fact-api-key-redacted.rst"
+ }
+ ],
+ "domain": "",
+ "name": "include",
+ "argument": [
+ {
+ "type": "text",
+ "position": {
+ "start": {
+ "line": 420
+ }
+ },
+ "value": "/includes/fact-api-key-redacted.rst"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "region"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Indicates the API URL to use."
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "root",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "substitution_reference",
+ "children": [
+ {
+ "type": "text",
+ "value": "Atlas"
+ }
+ ],
+ "name": "service"
+ },
+ {
+ "type": "text",
+ "value": " supports the following Datadog regions in the\nAtlas Administration API:"
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Atlas Administration API region"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Corresponding Datadog region"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "US"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "US1"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "US3"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "US3"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "US5"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "US5"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "EU"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "EU1"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "AP1"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "AP1"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "list-table",
+ "argument": [],
+ "options": {
+ "widths": "50 50",
+ "header-rows": 1
+ }
+ },
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Datadog uses "
+ },
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "US1"
+ }
+ ]
+ },
+ {
+ "type": "text",
+ "value": " ("
+ },
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "US"
+ }
+ ]
+ },
+ {
+ "type": "text",
+ "value": " in the Atlas Administration API) by default."
+ }
+ ]
+ },
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "To learn more about Datadog's regions, see "
+ },
+ {
+ "type": "reference",
+ "children": [
+ {
+ "type": "text",
+ "value": "Datadog Sites"
+ }
+ ],
+ "refuri": "https://docs.datadoghq.com/getting_started/site/"
+ },
+ {
+ "type": "text",
+ "value": "."
+ }
+ ]
+ }
+ ],
+ "fileid": "includes/fact-datadog-supported-regions-api.rst"
+ }
+ ],
+ "domain": "",
+ "name": "include",
+ "argument": [
+ {
+ "type": "text",
+ "position": {
+ "start": {
+ "line": 425
+ }
+ },
+ "value": "/includes/fact-datadog-supported-regions-api.rst"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "list-table",
+ "argument": [],
+ "options": {
+ "widths": "30 70",
+ "header-rows": 1
+ }
+ }
+ ],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ }
+ ],
+ "domain": "mongodb",
+ "name": "row",
+ "argument": []
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "New Relic"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "A returned New Relic integration configuration object will\ncontain the following fields:"
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "root",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Effective Wednesday, June 16th, 2021, New Relic no longer supports\nthe plugin-based integration with MongoDB. We do not recommend\nthat you sign up for the plugin-based integration."
+ }
+ ]
+ },
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "To learn more,\nsee the "
+ },
+ {
+ "type": "reference",
+ "children": [
+ {
+ "type": "text",
+ "value": "New Relic Plugin EOL Statement"
+ }
+ ],
+ "refuri": "https://discuss.newrelic.com/t/new-relic-plugin-eol-wednesday-june-16th-2021/127267"
+ },
+ {
+ "type": "text",
+ "value": ".\nConsider configuring an alternative monitoring integration before\nJune 16th to maintain visibility into your MongoDB deployments."
+ }
+ ]
+ }
+ ],
+ "domain": "",
+ "name": "important",
+ "argument": []
+ }
+ ],
+ "fileid": "includes/fact-new-relic-deprecated.rst"
+ }
+ ],
+ "domain": "",
+ "name": "include",
+ "argument": [
+ {
+ "type": "text",
+ "position": {
+ "start": {
+ "line": 431
+ }
+ },
+ "value": "/includes/fact-new-relic-deprecated.rst"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Property"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Description"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "type"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "NEW_RELIC"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "licenseKey"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Your License Key."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "accountId"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Unique identifier of your New Relic account."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "writeToken"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Your Insights Insert Key."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "readToken"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Your Insights Query Key."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "list-table",
+ "argument": [],
+ "options": {
+ "widths": "30 70",
+ "header-rows": 1
+ }
+ }
+ ],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ }
+ ],
+ "domain": "mongodb",
+ "name": "row",
+ "argument": []
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Opsgenie"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "A returned Opsgenie integration configuration object will\ncontain the following fields:"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Property"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Description"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "type"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "OPS_GENIE"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "apiKey"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Your API Key."
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "root",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "After you create a notification which requires an API or integration\nkey, the key appears partially redacted when you:"
+ }
+ ]
+ },
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "View or edit the alert through the Atlas UI."
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Query the alert for the notification through the Atlas Administration API."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "note",
+ "argument": []
+ }
+ ],
+ "fileid": "includes/fact-api-key-redacted.rst"
+ }
+ ],
+ "domain": "",
+ "name": "include",
+ "argument": [
+ {
+ "type": "text",
+ "position": {
+ "start": {
+ "line": 472
+ }
+ },
+ "value": "/includes/fact-api-key-redacted.rst"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "region"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Indicates which API URL is used, either "
+ },
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "US"
+ }
+ ]
+ },
+ {
+ "type": "text",
+ "value": " or\n"
+ },
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "EU"
+ }
+ ]
+ },
+ {
+ "type": "text",
+ "value": ". Opsgenie will use "
+ },
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "US"
+ }
+ ]
+ },
+ {
+ "type": "text",
+ "value": " by default."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "list-table",
+ "argument": [],
+ "options": {
+ "widths": "30 70",
+ "header-rows": 1
+ }
+ }
+ ],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ }
+ ],
+ "domain": "mongodb",
+ "name": "row",
+ "argument": []
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "VictorOps"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "A returned VictorOps integration configuration object will\ncontain the following fields:"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Property"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Description"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "type"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "VICTOR_OPS"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "apiKey"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Your API Key."
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "root",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "After you create a notification which requires an API or integration\nkey, the key appears partially redacted when you:"
+ }
+ ]
+ },
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "View or edit the alert through the Atlas UI."
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Query the alert for the notification through the Atlas Administration API."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "note",
+ "argument": []
+ }
+ ],
+ "fileid": "includes/fact-api-key-redacted.rst"
+ }
+ ],
+ "domain": "",
+ "name": "include",
+ "argument": [
+ {
+ "type": "text",
+ "position": {
+ "start": {
+ "line": 495
+ }
+ },
+ "value": "/includes/fact-api-key-redacted.rst"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "list-table",
+ "argument": [],
+ "options": {
+ "widths": "30 70",
+ "header-rows": 1
+ }
+ },
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "The configuration object may also contain the following\nfields, depending on your configuration:"
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Property"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Description"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "routingKey"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "An optional field returned if you have a Routing Key\nconfigured."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "list-table",
+ "argument": [],
+ "options": {
+ "widths": "30 70",
+ "header-rows": 1
+ }
+ }
+ ],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ }
+ ],
+ "domain": "mongodb",
+ "name": "row",
+ "argument": []
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Webhook Settings"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "A returned webhook configuration object will\ncontain the following fields:"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Property"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Description"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "type"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "WEBHOOK"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "url"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Your webhook URL."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "list-table",
+ "argument": [],
+ "options": {
+ "widths": "30 70",
+ "header-rows": 1
+ }
+ },
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "The configuration object may also contain the following\nfields, depending on your configuration:"
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Property"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Description"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "secret"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "An optional field returned if your webhook is\nconfigured with a secret."
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "root",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "When you view or edit the alert for a webhook\nnotification, the URL appears partially redacted, and the\nsecret appears completely redacted."
+ }
+ ]
+ }
+ ],
+ "domain": "",
+ "name": "note",
+ "argument": []
+ }
+ ],
+ "fileid": "includes/fact-webhook-redacted.rst"
+ }
+ ],
+ "domain": "",
+ "name": "include",
+ "argument": [
+ {
+ "type": "text",
+ "position": {
+ "start": {
+ "line": 542
+ }
+ },
+ "value": "/includes/fact-webhook-redacted.rst"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "list-table",
+ "argument": [],
+ "options": {
+ "widths": "30 70",
+ "header-rows": 1
+ }
+ }
+ ],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ }
+ ],
+ "domain": "mongodb",
+ "name": "row",
+ "argument": []
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Microsoft Teams"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "A returned Microsoft Teams configuration object will\ncontain the following fields:"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Property"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Description"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "type"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "MICROSOFT_TEAMS"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "microsoftTeamsWebhookUrl"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Your Microsoft Teams incoming webhook URL."
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "root",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "When you view or edit the alert for a Microsoft Teams notification, the\nURL appears partially redacted."
+ }
+ ]
+ }
+ ],
+ "domain": "",
+ "name": "note",
+ "argument": []
+ }
+ ],
+ "fileid": "includes/fact-ms-teams-redacted.rst"
+ }
+ ],
+ "domain": "",
+ "name": "include",
+ "argument": [
+ {
+ "type": "text",
+ "position": {
+ "start": {
+ "line": 561
+ }
+ },
+ "value": "/includes/fact-ms-teams-redacted.rst"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "list-table",
+ "argument": [],
+ "options": {
+ "widths": "30 70",
+ "header-rows": 1
+ }
+ }
+ ],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ }
+ ],
+ "domain": "mongodb",
+ "name": "row",
+ "argument": []
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Prometheus"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "A returned Prometheus configuration object will\ncontain the following fields:"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ },
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "directive",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Property"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Description"
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "type"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "PROMETHEUS"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "username"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Your Prometheus username."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "serviceDiscovery"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Indicates which service discovery method is\nused, either "
+ },
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "file"
+ }
+ ]
+ },
+ {
+ "type": "text",
+ "value": " or "
+ },
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "http"
+ }
+ ]
+ },
+ {
+ "type": "text",
+ "value": "."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "scheme"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Your Prometheus protocol scheme configured for requests."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "list",
+ "children": [
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "literal",
+ "children": [
+ {
+ "type": "text",
+ "value": "enabled"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "type": "listItem",
+ "children": [
+ {
+ "type": "paragraph",
+ "children": [
+ {
+ "type": "text",
+ "value": "Whether your cluster has Prometheus enabled."
+ }
+ ]
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "list-table",
+ "argument": [],
+ "options": {
+ "widths": "30 70",
+ "header-rows": 1
+ }
+ }
+ ],
+ "domain": "mongodb",
+ "name": "cell",
+ "argument": []
+ }
+ ],
+ "domain": "mongodb",
+ "name": "row",
+ "argument": []
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ]
+ }
+ ],
+ "enumtype": "unordered"
+ }
+ ],
+ "domain": "",
+ "name": "list-table",
+ "argument": [],
+ "options": {
+ "header-rows": 1
+ }
+}
|