blob: 2364a8a2769312e938020d86e23524f474c6ca5b [file] [log] [blame]
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`data source view matches snapshot 1`] = `
<div
className="datasource-view app-view no-chart"
>
<Memo(ViewControlBar)
label="Datasources"
>
<Memo(RefreshButton)
localStorageKey="datasources-refresh-rate"
onRefresh={[Function]}
/>
<Memo(MoreButton)
altExtra={
<Blueprint3.MenuItem
disabled={false}
icon="compressed"
intent="danger"
multiline={false}
onClick={[Function]}
popoverProps={Object {}}
shouldDismissPopover={true}
text="Force compaction run (debug)"
/>
}
>
<Blueprint3.MenuItem
disabled={false}
icon="application"
multiline={false}
onClick={[Function]}
popoverProps={Object {}}
shouldDismissPopover={true}
text="View SQL query for table"
/>
<Blueprint3.MenuItem
disabled={false}
icon="edit"
multiline={false}
onClick={[Function]}
popoverProps={Object {}}
shouldDismissPopover={true}
text="Edit default retention rules"
/>
</Memo(MoreButton)>
<Blueprint3.Switch
checked={false}
disabled={false}
label="Show segment timeline"
onChange={[Function]}
/>
<Blueprint3.Switch
checked={false}
disabled={false}
label="Show unused"
onChange={[Function]}
/>
<Memo(TableColumnSelector)
columns={
Array [
"Datasource name",
"Availability",
"Segment load/drop queues",
"Total data size",
"Segment size",
"Total rows",
"Avg. row size",
"Replicated size",
"Compaction",
"% Compacted",
"Left to be compacted",
"Retention",
"Actions",
]
}
onChange={[Function]}
tableColumnsHidden={Array []}
/>
</Memo(ViewControlBar)>
<ReactTable
AggregatedComponent={[Function]}
ExpanderComponent={[Function]}
FilterComponent={[Function]}
LoadingComponent={[Function]}
NoDataComponent={[Function]}
PadRowComponent={[Function]}
PaginationComponent={[Function]}
PivotValueComponent={[Function]}
ResizerComponent={[Function]}
TableComponent={[Function]}
TbodyComponent={[Function]}
TdComponent={[Function]}
TfootComponent={[Function]}
ThComponent={[Function]}
TheadComponent={[Function]}
TrComponent={[Function]}
TrGroupComponent={[Function]}
aggregatedKey="_aggregated"
className=""
collapseOnDataChange={true}
collapseOnPageChange={true}
collapseOnSortingChange={true}
column={
Object {
"Aggregated": undefined,
"Cell": undefined,
"Expander": undefined,
"Filter": undefined,
"Footer": undefined,
"Header": undefined,
"Pivot": undefined,
"PivotValue": undefined,
"Placeholder": undefined,
"aggregate": undefined,
"className": "",
"filterAll": false,
"filterMethod": undefined,
"filterable": undefined,
"footerClassName": "",
"footerStyle": Object {},
"getFooterProps": [Function],
"getHeaderProps": [Function],
"getProps": [Function],
"headerClassName": "",
"headerStyle": Object {},
"minResizeWidth": 11,
"minWidth": 100,
"resizable": undefined,
"show": true,
"sortMethod": undefined,
"sortable": undefined,
"style": Object {},
}
}
columns={
Array [
Object {
"Cell": [Function],
"Header": <React.Fragment>
Datasource
<br />
name
</React.Fragment>,
"accessor": "datasource",
"show": true,
"width": 150,
},
Object {
"Cell": [Function],
"Header": "Availability",
"accessor": [Function],
"filterable": false,
"id": "availability",
"minWidth": 200,
"show": true,
"sortMethod": [Function],
},
Object {
"Cell": [Function],
"Header": <React.Fragment>
Segment load/drop
<br />
queues
</React.Fragment>,
"accessor": "num_segments_to_load",
"filterable": false,
"id": "load-drop",
"minWidth": 100,
"show": true,
},
Object {
"Cell": [Function],
"Header": <React.Fragment>
Total
<br />
data size
</React.Fragment>,
"accessor": "total_data_size",
"filterable": false,
"show": true,
"width": 100,
},
Object {
"Cell": [Function],
"Header": <React.Fragment>
Segment size (MB)
<br />
min / avg / max
</React.Fragment>,
"accessor": "avg_segment_size",
"filterable": false,
"show": true,
"width": 150,
},
Object {
"Cell": [Function],
"Header": <React.Fragment>
Total
<br />
rows
</React.Fragment>,
"accessor": "total_rows",
"filterable": false,
"show": true,
"width": 100,
},
Object {
"Cell": [Function],
"Header": <React.Fragment>
Avg. row size
<br />
(bytes)
</React.Fragment>,
"accessor": "avg_row_size",
"filterable": false,
"show": true,
"width": 100,
},
Object {
"Cell": [Function],
"Header": <React.Fragment>
Replicated
<br />
size
</React.Fragment>,
"accessor": "replicated_size",
"filterable": false,
"show": true,
"width": 100,
},
Object {
"Cell": [Function],
"Header": "Compaction",
"accessor": [Function],
"filterable": false,
"id": "compactionStatus",
"show": true,
"width": 150,
},
Object {
"Cell": [Function],
"Header": <React.Fragment>
% Compacted
<br />
bytes / segments / intervals
</React.Fragment>,
"accessor": [Function],
"filterable": false,
"id": "percentCompacted",
"show": true,
"width": 200,
},
Object {
"Cell": [Function],
"Header": <React.Fragment>
Left to be
<br />
compacted
</React.Fragment>,
"accessor": [Function],
"filterable": false,
"id": "leftToBeCompacted",
"show": true,
"width": 100,
},
Object {
"Cell": [Function],
"Header": "Retention",
"accessor": [Function],
"filterable": false,
"id": "retention",
"minWidth": 100,
"show": true,
},
Object {
"Cell": [Function],
"Header": "Actions",
"accessor": "datasource",
"filterable": false,
"id": "actions",
"show": true,
"width": 70,
},
]
}
data={Array []}
defaultExpanded={Object {}}
defaultFilterMethod={[Function]}
defaultFiltered={Array []}
defaultPage={0}
defaultPageSize={50}
defaultResized={Array []}
defaultSortDesc={false}
defaultSortMethod={[Function]}
defaultSorted={Array []}
expanderDefaults={
Object {
"filterable": false,
"resizable": false,
"sortable": false,
"width": 35,
}
}
filterable={true}
filtered={Array []}
freezeWhenExpanded={false}
getLoadingProps={[Function]}
getNoDataProps={[Function]}
getPaginationProps={[Function]}
getProps={[Function]}
getResizerProps={[Function]}
getTableProps={[Function]}
getTbodyProps={[Function]}
getTdProps={[Function]}
getTfootProps={[Function]}
getTfootTdProps={[Function]}
getTfootTrProps={[Function]}
getTheadFilterProps={[Function]}
getTheadFilterThProps={[Function]}
getTheadFilterTrProps={[Function]}
getTheadGroupProps={[Function]}
getTheadGroupThProps={[Function]}
getTheadGroupTrProps={[Function]}
getTheadProps={[Function]}
getTheadThProps={[Function]}
getTheadTrProps={[Function]}
getTrGroupProps={[Function]}
getTrProps={[Function]}
groupedByPivotKey="_groupedByPivot"
indexKey="_index"
loading={true}
loadingText="Loading..."
multiSort={true}
nestingLevelKey="_nestingLevel"
nextText="Next"
noDataText=""
ofText="of"
onFetchData={[Function]}
onFilteredChange={[Function]}
originalKey="_original"
pageJumpText="jump to page"
pageSizeOptions={
Array [
5,
10,
20,
25,
50,
100,
]
}
pageText="Page"
pivotDefaults={Object {}}
pivotIDKey="_pivotID"
pivotValKey="_pivotVal"
previousText="Previous"
resizable={true}
resolveData={[Function]}
rowsSelectorText="rows per page"
rowsText="rows"
showPageJump={true}
showPageSizeOptions={true}
showPagination={true}
showPaginationBottom={true}
showPaginationTop={false}
sortable={true}
style={Object {}}
subRowsKey="_subRows"
/>
</div>
`;