Documentation ¶
Index ¶
Constants ¶
View Source
const (
LogLevelEnvVar = "DASHBOARD_LOG_LEVEL"
)
Variables ¶
View Source
var (
L zerolog.Logger
)
Functions ¶
Types ¶
type Dashboard ¶
type Dashboard struct { Name string DeployOpts EnvConfig /* SDK panels that are missing in Grabana */ SDKPanels []map[string]interface{} Opts []dashboard.Option // contains filtered or unexported fields }
func NewDashboard ¶
func (*Dashboard) AddSDKPanel ¶
type DashboardOpts ¶
type DataSources ¶
type EnvConfig ¶
type EnvConfig struct { Name string Platform string GrafanaURL string GrafanaToken string GrafanaBasicAuthUser string GrafanaBasicAuthPassword string GrafanaFolder string DataSources DataSources PanelsIncluded map[string]bool }
func ReadEnvDeployOpts ¶
func ReadEnvDeployOpts() EnvConfig
Click to show internal directories.
Click to hide internal directories.