{{ $jsPath := .Get "path" }} {{ $metricsRef := getJSON $jsPath }}

{{ range where $metricsRef "visible" true}} {{ $p := . }}

{{$p.name}}

description {{$p.description}}
type {{$p.type}}
categories {{$p.categories}}
source {{$p.source}}
rollup_aggregate {{$p.rollup_aggregate}}
unit {{$p.unit}}
aggregations {{$p.aggregations}}
dimensions
    {{range sort $p.dimensions}} {{$dim := .}}
  • {{$dim}}
  • {{end}}

{{ end }}