2021-05-22 19:51:56 +05:30
|
|
|
package app
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
|
|
|
|
|
|
|
|
|
"go.signoz.io/query-service/model"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type Reader interface {
|
2021-05-29 16:32:11 +05:30
|
|
|
GetServiceOverview(ctx context.Context, query *model.GetServiceOverviewParams) (*[]model.ServiceOverviewItem, error)
|
2021-05-22 19:51:56 +05:30
|
|
|
GetServices(ctx context.Context, query *model.GetServicesParams) (*[]model.ServiceItem, error)
|
2021-05-27 12:52:34 +05:30
|
|
|
// GetApplicationPercentiles(ctx context.Context, query *model.ApplicationPercentileParams) ([]godruid.Timeseries, error)
|
2021-05-29 16:32:11 +05:30
|
|
|
SearchSpans(ctx context.Context, query *model.SpanSearchParams) (*[]model.SearchSpansResult, error)
|
2021-05-29 22:15:49 +05:30
|
|
|
GetServiceDBOverview(ctx context.Context, query *model.GetServiceOverviewParams) (*[]model.ServiceDBOverviewItem, error)
|
2021-05-22 19:51:56 +05:30
|
|
|
}
|