34 lines
814 B
YAML
34 lines
814 B
YAML
apiVersion: 0.1.0
|
|
kind: Package
|
|
meta:
|
|
pkgName: pkg_name
|
|
pkgVersion: 1
|
|
description: pack description
|
|
spec:
|
|
resources:
|
|
- kind: Variable
|
|
name: var_query_1
|
|
description: var_query_1 desc
|
|
type: query
|
|
language: flux
|
|
query: |
|
|
buckets() |> filter(fn: (r) => r.name !~ /^_/) |> rename(columns: {name: "_value"}) |> keep(columns: ["_value"])
|
|
- kind: Variable
|
|
name: var_query_2
|
|
description: var_query_2 desc
|
|
type: query
|
|
query: an influxql query of sorts
|
|
language: influxql
|
|
- kind: Variable
|
|
name: var_const_3
|
|
description: var_const_3 desc
|
|
type: constant
|
|
values:
|
|
- first val
|
|
- kind: Variable
|
|
name: var_map_4
|
|
description: var_map_4 desc
|
|
type: map
|
|
values:
|
|
k1: v1
|