43 lines
1.2 KiB
YAML
43 lines
1.2 KiB
YAML
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
|
|
xCol: _value
|
|
width: 6
|
|
height: 3
|
|
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")
|
|
colors:
|
|
- hex: "#8F8AF4"
|
|
type: scale
|
|
value: 0
|
|
name: mycolor
|
|
- hex: "#F4CF31"
|
|
type: scale
|
|
value: 0
|
|
name: mycolor
|
|
- hex: "#FFFFFF"
|
|
type: scale
|
|
value: 0
|
|
name: mycolor
|
|
axes:
|
|
- name : "x"
|
|
label: x_label
|
|
domain:
|
|
- 0
|
|
- 10
|