Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSomethingWentWrong = errors.New( "Something went wrong. Try again later or contact Enapter support.") ErrMetricDataTypeIsNotSupported = errors.New( "The requested metric data type is currently not supported.") ErrInvalidYAML = errors.New( "The query is not a valid YAML.") )
nolint: stylecheck,revive // user-facing
Functions ¶
This section is empty.
Types ¶
type CheckHealth ¶
type CheckHealth struct {
// contains filtered or unexported fields
}
func NewCheckHealth ¶
func NewCheckHealth(logger hclog.Logger, client telemetryapi.Client) *CheckHealth
func (*CheckHealth) CheckHealth ¶
func (h *CheckHealth) CheckHealth( ctx context.Context, req *backend.CheckHealthRequest, ) (*backend.CheckHealthResult, error)
type QueryData ¶
type QueryData struct {
// contains filtered or unexported fields
}
func NewQueryData ¶
func NewQueryData(logger hclog.Logger, telemetryAPIClient telemetryapi.Client) *QueryData
func (*QueryData) QueryData ¶
func (h *QueryData) QueryData( ctx context.Context, req *backend.QueryDataRequest, ) (*backend.QueryDataResponse, error)
Click to show internal directories.
Click to hide internal directories.