influxdata / influxdata/ui

notebooks: Export to dashboard doesn't seem to work for simple table visualization

Open
#2,138 1 comment 0 reactions 1 assignee Claimed by @jzahnd View on GitHub
area/notebooks IceBox kind/bug team/dumplings team/ui
Dominant language
TypeScript
Stars
117
Forks
51
Avg merge
2d 15h
Merged PRs (30d)
4

Description

If my data is in the simple table view (either in the Validate the Data panel, or in the Visualize the Result panel with the simple table view), I get an error when I try to export it to a dashboard. In the console I see:

PATCH https://us-central1-1.gcp.cloud2.influxdata.com/api/v2/dashboards/07e541c7b49ad000/cells/07e5429db41ad000/view 500

Uncaught (in promise) Error: An internal error has occurred
at s (index.ts:32)
at async thunks.ts:131

Here's the output from flow-snapshot, in case it is relevant:
{
"name": "Explore the _tasks bucket",
"readOnly": false,
"range": {
"type": "selectable-duration",
"label": "Past 1h",
"lower": "now() - 1h",
"upper": null,
"seconds": 3600,
"duration": "1h",
"windowPeriod": 10000
},
"refresh": {
"status": "paused",
"duration": null,
"interval": 0,
"infiniteDuration": false,
"inactivityTimeout": 0
},
"pipes": [
{
"id": "local_df212ea5-d5b0-4f06-b54f-36142801388f",
"tags": {
"status": [
"failed"
]
},
"type": "metricSelector",
"field": "name",
"bucket": {
"name": "_tasks"
},
"measurement": "runs",
"aggregateFunction": {
"name": "mean"
},
"title": "Select a Metric",
"visible": true
},
{
"id": "local_f5fbd781-929f-4e29-ae00-2c179666ac52",
"type": "visualization",
"period": "10s",
"properties": {
"type": "simple-table",
"showAll": false
},
"title": "Validate the Data",
"visible": true
},
{
"id": "local_6cea1f09-2a4c-443a-ae08-de881f07b090",
"type": "visualization",
"period": "10s",
"functions": [
{
"name": "mean"
}
],
"properties": {
"axes": {
"x": {
"base": "10",
"label": "",
"scale": "linear",
"bounds": [
"",
""
],
"prefix": "",
"suffix": ""
},
"y": {
"base": "10",
"label": "",
"scale": "linear",
"bounds": [
"",
""
],
"prefix": "",
"suffix": ""
}
},
"geom": "line",
"note": "",
"type": "xy",
"shape": "chronograf-v2",
"colors": [
{
"id": "d001b766-bf5c-4ae3-a867-9a3774849cc1",
"hex": "#31C0F6",
"name": "Nineteen Eighty Four",
"type": "scale",
"value": 0
},
{
"id": "547f5c28-4e2a-4c06-af49-a02e6fd11c5f",
"hex": "#A500A5",
"name": "Nineteen Eighty Four",
"type": "scale",
"value": 0
},
{
"id": "3c0dadaf-f8aa-45a4-ba1a-3597b685b76f",
"hex": "#FF7E27",
"name": "Nineteen Eighty Four",
"type": "scale",
"value": 0
}
],
"queries": [
{
"name": "",
"text": "",
"editMode": "builder",
"builderConfig": {
"tags": [
{
"key": "_measurement",
"values": [],
"aggregateFunctionType": "filter"
}
],
"buckets": [],
"functions": [
{
"name": "mean"
}
],
"aggregateWindow": {
"period": "auto",
"fillValues": false
}
}
}
],
"xColumn": null,
"yColumn": null,
"position": "overlaid",
"xTickStep": null,
"yTickStep": null,
"xTickStart": null,
"yTickStart": null,
"xTotalTicks": null,
"yTotalTicks": null,
"staticLegend": {
"hide": true,
"widthRatio": 1,
"heightRatio": 0.2
},
"legendOpacity": 1,
"hoverDimension": "auto",
"showNoteWhenEmpty": false,
"generateXAxisTicks": [],
"generateYAxisTicks": [],
"legendOrientationThreshold": 100000000
},
"title": "Visualize the Result",
"visible": true
}
]
}

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.