{ "apiVersion": "0.1.0", "kind": "Package", "meta": { "pkgName": "pkg_name", "pkgVersion": "1", "description": "pack description" }, "spec": { "resources": [ { "kind": "Dashboard", "name": "dashboard w/ single histogram chart", "description": "a dashboard w/ single histogram chart", "charts": [ { "kind": "histogram", "name": "histogram chart", "note": "histogram note", "noteOnEmpty": true, "width": 6, "height": 3, "xCol": "_value", "position": "stacked", "binCount": 30, "queries": [ { "query": "from(bucket: v.bucket) |> range(start: v.timeRangeStart, stop: v.timeRangeStop) |> filter(fn: (r) => r._measurement == \"boltdb_reads_total\") |> filter(fn: (r) => r._field == \"counter\")" } ], "axes":[ { "name": "x", "label": "x_label", "domain": [0, 10] } ], "colors": [ { "name": "mycolor", "type": "scale", "hex": "#8F8AF4", "value": 0 }, { "name": "mycolor", "type": "scale", "hex": "#F4CF31", "value": 0 }, { "name": "mycolor", "type": "scale", "hex": "#FFFFFF", "value": 0 } ] } ] } ] } }