Documentation ¶
Index ¶
- func FromHorolog(h string) (time.Time, error)
- type ApplicationError
- type ApplicationErrors
- type Datasource
- func (d *Datasource) CheckHealth(ctx context.Context) error
- func (d *Datasource) HandleApplicationErrorsQuery(ctx context.Context, query *models.ApplicationErrorsQuery, ...) (dfutil.Framer, error)
- func (d *Datasource) HandleLogQuery(ctx context.Context, query *models.LogQuery, req backend.DataQuery) (dfutil.Framer, error)
- func (d *Datasource) HandleMetricsQuery(ctx context.Context, query *models.MetricsQuery, req backend.DataQuery) (dfutil.Framer, error)
- type InterSystems
- type ListMetrics
- type LogLine
- type LogLines
- type Metric
- type Metrics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ApplicationError ¶
type ApplicationErrors ¶
type ApplicationErrors []ApplicationError
func GetApplicationErrors ¶
func GetApplicationErrors(ctx context.Context, client InterSystems, opts models.ListApplicationErrorsOptions) (ApplicationErrors, error)
func (ApplicationErrors) Frames ¶
func (l ApplicationErrors) Frames() data.Frames
type Datasource ¶
type Datasource struct {
// contains filtered or unexported fields
}
func NewDatasource ¶
func NewDatasource(ctx context.Context, settings models.Settings) *Datasource
func (*Datasource) CheckHealth ¶
func (d *Datasource) CheckHealth(ctx context.Context) error
func (*Datasource) HandleApplicationErrorsQuery ¶
func (d *Datasource) HandleApplicationErrorsQuery(ctx context.Context, query *models.ApplicationErrorsQuery, req backend.DataQuery) (dfutil.Framer, error)
func (*Datasource) HandleLogQuery ¶
func (*Datasource) HandleMetricsQuery ¶
func (d *Datasource) HandleMetricsQuery(ctx context.Context, query *models.MetricsQuery, req backend.DataQuery) (dfutil.Framer, error)
type InterSystems ¶
type InterSystems struct {
// contains filtered or unexported fields
}
func NewInterSystems ¶
func NewInterSystems(addr, namespace, user, password string) InterSystems
func (InterSystems) Connect ¶
func (i InterSystems) Connect() (connection.Connection, error)
func (InterSystems) ConnectSYS ¶
func (i InterSystems) ConnectSYS() (connection.Connection, error)
type ListMetrics ¶
func GetListMetrics ¶
func GetListMetrics(ctx context.Context, client InterSystems, opts models.ListMetricsOptions) (ListMetrics, error)
func (ListMetrics) Frames ¶
func (l ListMetrics) Frames() data.Frames
Click to show internal directories.
Click to hide internal directories.