def dashboard_row_unbound(panel_id, node):
    return {
        'title': 'unbound',
        'collapse': False,
        'editable': False,
        'height': '250px',
        'panels': [
            {
                'aliasColors': {},
                'bars': False,
                'dashLength': 10,
                'dashes': False,
                'datasource': None,
                'fieldConfig': {
                    'defaults': {
                        'displayName': '${__field.name}'
                    },
                    'overrides': []
                },
                'fill': 1,
                'fillGradient': 0,
                'hiddenSeries': False,
                'id': next(panel_id),
                'legend': {
                    'alignAsTable': False,
                    'avg': False,
                    'current': False,
                    'max': False,
                    'min': False,
                    'rightSide': False,
                    'show': True,
                    'total': False,
                    'values': False
                },
                'lines': True,
                'linewidth': 1,
                'NonePointMode': 'None',
                'options': {
                    'alertThreshold': True
                },
                'percentage': False,
                'pluginVersion': '7.5.5',
                'pointradius': 2,
                'points': False,
                'renderer': 'flot',
                'seriesOverrides': [],
                'spaceLength': 10,
                'span': 6,
                'stack': False,
                'steppedLine': False,
                'targets': [{
                    'groupBy': [
                        {'type': 'time', 'params': ['$__interval']},
                        {'type': 'fill', 'params': ['linear']},
                    ],
                    'orderByTime': "ASC",
                    'policy': "default",
                    'query': f"""from(bucket: "telegraf")
    |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
    |> filter(fn: (r) =>
        r["_measurement"] == "unbound" and
        r["_field"] == "total_num_queries" and
        r["host"] == "{node.name}"
    )
    |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
    |> yield(name: "total_num_queries")""",
                    'resultFormat': 'time_series',
                    'select': [[
                        {'type': 'field', 'params': ['value']},
                        {'type': 'mean', 'params': []},
                    ]],
                    "tags": []
                }],
                'thresholds': [],
                'timeRegions': [],
                'title': 'unbound queries per second',
                'tooltip': {
                    'shared': True,
                    'sort': 0,
                    'value_type': 'individual'
                },
                'type': 'graph',
                'xaxis': {
                    'buckets': None,
                    'mode': 'time',
                    'name': None,
                    'show': True,
                    'values': []
                },
                'yaxes': [
                    {
                        'format': 'short',
                        'label': None,
                        'logBase': 1,
                        'max': None,
                        'min': 0,
                        'show': True,
                        'decimals': 0,
                    },
                    {
                        'format': 'short',
                        'label': None,
                        'logBase': 1,
                        'max': None,
                        'min': None,
                        'show': False,
                    }
                ],
                'yaxis': {
                    'align': False,
                    'alignLevel': None
                }
            },
            {
                'aliasColors': {},
                'bars': False,
                'dashLength': 10,
                'dashes': False,
                'datasource': None,
                'fieldConfig': {
                    'defaults': {
                        'displayName': '${__field.name}'
                    },
                    'overrides': []
                },
                'fill': 1,
                'fillGradient': 0,
                'hiddenSeries': False,
                'id': next(panel_id),
                'legend': {
                    'alignAsTable': False,
                    'avg': False,
                    'current': False,
                    'max': False,
                    'min': False,
                    'rightSide': False,
                    'show': True,
                    'total': False,
                    'values': False
                },
                'lines': True,
                'linewidth': 1,
                'NonePointMode': 'None',
                'options': {
                    'alertThreshold': True
                },
                'percentage': False,
                'pluginVersion': '7.5.5',
                'pointradius': 2,
                'points': False,
                'renderer': 'flot',
                'seriesOverrides': [],
                'spaceLength': 10,
                'span': 6,
                'stack': False,
                'steppedLine': False,
                'targets': [
                    {
                        'groupBy': [
                        {'type': 'time', 'params': ['$__interval']},
                        {'type': 'fill', 'params': ['linear']},
                        ],
                        'orderByTime': "ASC",
                        'policy': "default",
                        'query': f"""from(bucket: "telegraf")
    |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
    |> filter(fn: (r) =>
        r["_measurement"] == "unbound" and
        r["_field"] == "total_recursion_time_avg" and
        r["host"] == "{node.name}"
    )
    |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
    |> yield(name: "avg")""",
                        'resultFormat': 'time_series',
                        'select': [[
                            {'type': 'field', 'params': ['value']},
                            {'type': 'mean', 'params': []},
                        ]],
                        "tags": []
                    },
                    {
                        'groupBy': [
                        {'type': 'time', 'params': ['$__interval']},
                        {'type': 'fill', 'params': ['linear']},
                        ],
                        'orderByTime': "ASC",
                        'policy': "default",
                        'query': f"""from(bucket: "telegraf")
    |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
    |> filter(fn: (r) =>
        r["_measurement"] == "unbound" and
        r["_field"] == "total_recursion_time_mean" and
        r["host"] == "{node.name}"
    )
    |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
    |> yield(name: "mean")""",
                        'resultFormat': 'time_series',
                        'select': [[
                            {'type': 'field', 'params': ['value']},
                            {'type': 'mean', 'params': []},
                        ]],
                        "tags": []
                    },
                ],
                'thresholds': [
                    {
                        'colorMode': 'warning',
                        'fill': True,
                        'line': True,
                        'op': 'gt',
                        'value': 1,
                        'yaxis': 'left'
                    },
                    {
                        'colorMode': 'critical',
                        'fill': True,
                        'line': True,
                        'op': 'gt',
                        'value': 5,
                        'yaxis': 'left'
                    }
                ],
                'timeRegions': [],
                'title': 'unbound recursion time',
                'tooltip': {
                    'shared': True,
                    'sort': 0,
                    'value_type': 'individual'
                },
                'type': 'graph',
                'xaxis': {
                    'buckets': None,
                    'mode': 'time',
                    'name': None,
                    'show': True,
                    'values': []
                },
                'yaxes': [
                    {
                        'format': 's',
                        'label': None,
                        'logBase': 1,
                        'max': None,
                        'min': 0,
                        'show': True,
                        'decimals': 0,
                    },
                    {
                        'format': 'short',
                        'label': None,
                        'logBase': 1,
                        'max': None,
                        'min': None,
                        'show': False,
                    }
                ],
                'yaxis': {
                    'align': False,
                    'alignLevel': None
                }
            },
        ],
    }
