Versions in this module Expand all Collapse all v2 v2.13.1 Oct 8, 2023 Changes in this version + type API struct + func New(db func() *tsdb.DB, enableAdmin bool) *API + func (api *API) HTTPHandler(ctx context.Context, 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(_ context.Context, r *pb.SeriesDeleteRequest) (*pb.SeriesDeleteResponse, error) + func (s *Admin) TSDBCleanTombstones(_ context.Context, _ *pb.TSDBCleanTombstonesRequest) (*pb.TSDBCleanTombstonesResponse, error) + func (s *Admin) TSDBSnapshot(_ context.Context, req *pb.TSDBSnapshotRequest) (*pb.TSDBSnapshotResponse, error) + type AdminDisabled struct + func (s *AdminDisabled) DeleteSeries(_ context.Context, r *pb.SeriesDeleteRequest) (*pb.SeriesDeleteResponse, error) + func (s *AdminDisabled) TSDBCleanTombstones(_ context.Context, _ *pb.TSDBCleanTombstonesRequest) (*pb.TSDBCleanTombstonesResponse, error) + func (s *AdminDisabled) TSDBSnapshot(_ context.Context, _ *pb.TSDBSnapshotRequest) (*pb.TSDBSnapshotResponse, error) Other modules containing this package github.com/zpascal/prometheus