Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApp ¶
func NewApp(_ context.Context, _ backend.AppInstanceSettings) (instancemgmt.Instance, error)
NewApp creates a new example *App instance.
Types ¶
type App ¶
type App struct {
backend.CallResourceHandler
}
App is an example app backend plugin which can respond to data queries.
func (*App) CheckHealth ¶
func (a *App) CheckHealth(_ context.Context, _ *backend.CheckHealthRequest) (*backend.CheckHealthResult, error)
CheckHealth handles health checks sent from Grafana to the plugin.
Click to show internal directories.
Click to hide internal directories.