web/api/v2/api.go
func (s *Admin) TSDBCleanTombstones(_ context.Context, _ *pb.TSDBCleanTombstonesRequest) (*pb.TSDBCleanTombstonesResponse, error) {
	db := s.db()
	if db == nil {
		return nil, errTSDBNotReady
	}

	if err := db.CleanTombstones(); err != nil {
		return nil, status.Errorf(codes.Internal, "clean tombstones: %s", err)
	}

	return &pb.TSDBCleanTombstonesResponse{}, nil
}
func (s *Admin) TSDBCleanTombstones(_ context.Context, _ *pb.TSDBCleanTombstonesRequest) (*pb.TSDBCleanTombstonesResponse, error) {
	db := s.db()
	if db == nil {
		return nil, errTSDBNotReady
	}

	if err := db.CleanTombstones(); err != nil {
		return nil, status.Errorf(codes.Internal, "clean tombstones: %s", err)
	}

	return &pb.TSDBCleanTombstonesResponse{}, nil
}
func ( s * Admin ) TSDBCleanTombstones ( _ context . Context , _ * pb . TSDBCleanTombstonesRequest ) ( * pb . TSDBCleanTombstonesResponse , error ) { db := s . db ( ) if db == nil { return nil , errTSDBNotReady } if err := db . CleanTombstones ( ) ; err != nil { return nil , status . Errorf ( codes . Internal , " " , err ) } return & pb . TSDBCleanTombstonesResponse { } , nil }
// TSDBCleanTombstones implements pb.AdminServer.
TSDBCleanTombstones implements pb . AdminServer .