Documentation ¶
Index ¶
- Constants
- func SpanNulls(always bool) timeseries.Option
- type DashboardCreator
- func NewCloudCtrlPlaneDashboardCreator(host, username, password, dataSource string) *DashboardCreator
- func NewCloudDashboardCreator(host, username, password, dataSource string) *DashboardCreator
- func NewK8SDashboardCreator(host, username, password, dataSource string) *DashboardCreator
- func NewLocalDashboardCreator(host, username, password, dataSource string) *DashboardCreator
Constants ¶
View Source
const AutoUnitPrometheusDatasource = `${ds_prom}`
View Source
const Prometheus = "prometheus"
Variables ¶
This section is empty.
Functions ¶
func SpanNulls ¶ added in v1.1.0
func SpanNulls(always bool) timeseries.Option
Types ¶
type DashboardCreator ¶
type DashboardCreator struct {
// contains filtered or unexported fields
}
func NewCloudCtrlPlaneDashboardCreator ¶ added in v1.2.0
func NewCloudCtrlPlaneDashboardCreator( host, username, password, dataSource string) *DashboardCreator
func NewCloudDashboardCreator ¶
func NewCloudDashboardCreator( host, username, password, dataSource string) *DashboardCreator
func NewK8SDashboardCreator ¶ added in v1.1.0
func NewK8SDashboardCreator( host, username, password, dataSource string) *DashboardCreator
func NewLocalDashboardCreator ¶
func NewLocalDashboardCreator( host, username, password, dataSource string) *DashboardCreator
func (*DashboardCreator) Create ¶
func (c *DashboardCreator) Create() error
Source Files ¶
- grafana_dashboard.go
- grafana_dashboard_frontend.go
- grafana_dashboard_fs.go
- grafana_dashboard_logtail.go
- grafana_dashboard_mem.go
- grafana_dashboard_pipeline.go
- grafana_dashboard_proxy.go
- grafana_dashboard_rpc.go
- grafana_dashboard_runtime.go
- grafana_dashboard_task.go
- grafana_dashboard_trace.go
- grafana_dashboard_txn.go
Click to show internal directories.
Click to hide internal directories.