Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultDataSource = "prometheus" GPerm os.FileMode = 0644 )
Variables ¶
View Source
var Cmd = &cobra.Command{
Use: "grafana",
Short: "Import/export Grafana dashboards",
Long: "Grafana tool - Import/Export Grafana dashboards",
}
Functions ¶
func ShortPath ¶
ShortPath turns ../../../grafana/dashboards/cmode/aggregate.json into cmode/aggregate.json
func VisitAllPanels ¶
func VisitDashboards ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.