Gladorme / perses-go-dac-example

Example of doing Dashboard-as-Code with Perses using the Golang SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Perses Golang Dashboard-as-Code example

Example of doing Dashboard-as-Code with Perses using the Golang SDK

Cheat sheet

# login first
percli login
# refresh token when needed
percli refesh
# build dashboards
percli dac build -d dashboards/ -ojson
# deploy dashboards
percli apply -d built/
# shortcut build + deploy
percli dac build -d dashboards/ -ojson && percli apply -d built/

References:

Perses:

Golang:

About

Example of doing Dashboard-as-Code with Perses using the Golang SDK


Languages

Language:Go 100.0%