Documentation ¶
Index ¶
- func Execute(args *common.QuerierParams) (jsonData map[string]interface{}, debug map[string]interface{}, err error)
- func NewError(status string, message string) error
- func PromQueryExecute(args *common.PromQueryParams, ctx context.Context) (*common.PromQueryResponse, error)
- func PromQueryRangeExecute(args *common.PromQueryParams, ctx context.Context) (*common.PromQueryResponse, error)
- func PromReaderExecute(req *prompb.ReadRequest, ctx context.Context) (resp *prompb.ReadResponse, err error)
- type ServiceError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute(args *common.QuerierParams) (jsonData map[string]interface{}, debug map[string]interface{}, err error)
func PromQueryExecute ¶
func PromQueryExecute(args *common.PromQueryParams, ctx context.Context) (*common.PromQueryResponse, error)
func PromQueryRangeExecute ¶
func PromQueryRangeExecute(args *common.PromQueryParams, ctx context.Context) (*common.PromQueryResponse, error)
func PromReaderExecute ¶
func PromReaderExecute(req *prompb.ReadRequest, ctx context.Context) (resp *prompb.ReadResponse, err error)
Types ¶
type ServiceError ¶
func (*ServiceError) Error ¶
func (e *ServiceError) Error() string
Click to show internal directories.
Click to hide internal directories.