Versions in this module Expand all Collapse all v1 v1.7.2 Feb 15, 2018 Changes in this version + type API struct + func New(now func() time.Time, db func() *tsdb.DB, qe *promql.Engine, ...) *API + func (api *API) HTTPHandler(grpcAddr string) (http.Handler, error) + func (api *API) RegisterGRPC(srv *grpc.Server) + type Admin struct + func NewAdmin(db func() *tsdb.DB) *Admin + func (s *Admin) DeleteSeries(_ old_ctx.Context, r *pb.SeriesDeleteRequest) (*pb.SeriesDeleteResponse, error) + func (s *Admin) TSDBCleanTombstones(_ old_ctx.Context, _ *pb.TSDBCleanTombstonesRequest) (*pb.TSDBCleanTombstonesResponse, error) + func (s *Admin) TSDBSnapshot(_ old_ctx.Context, _ *pb.TSDBSnapshotRequest) (*pb.TSDBSnapshotResponse, error) + type AdminDisabled struct + func (s *AdminDisabled) DeleteSeries(_ old_ctx.Context, r *pb.SeriesDeleteRequest) (*pb.SeriesDeleteResponse, error) + func (s *AdminDisabled) TSDBCleanTombstones(_ old_ctx.Context, _ *pb.TSDBCleanTombstonesRequest) (*pb.TSDBCleanTombstonesResponse, error) + func (s *AdminDisabled) TSDBSnapshot(_ old_ctx.Context, _ *pb.TSDBSnapshotRequest) (*pb.TSDBSnapshotResponse, error)